VlDataRow class

One row of a dataset, filled column by column.

A row is handed back already attached to its dataset, so nothing has to be pushed anywhere by the caller.

See also VlDataset.

VlDataset data = VlDataset.create();
data.row().str("region", "North").num("sales", 120.0);
data.row().str("region", "South").num("sales", 93.0);

Constructors

VlDataRow()

Properties

hashCode int
The hash code for this object.
no setterinherited
obj VlJson
getter/setter pair
owner VlDataset?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

back() VlDataset
Returns to the dataset this row belongs to, so rows chain one after another.
flag(String field, bool value) VlDataRow
Puts true or false in one column of this row.
json(String field, VlJson value) VlDataRow
Puts an already-built value in one column of this row.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
num(String field, double value) VlDataRow
Puts a number in one column of this row.
str(String field, String value) VlDataRow
Puts text in one column of this row.
toString() String
A string representation of this object.
inherited
whole(String field, int value) VlDataRow
Puts a whole number in one column of this row.

Operators

operator ==(Object other) bool
The equality operator.
inherited