Field class

Message representing a single field of a struct.

Constructors

Field()
Field.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., "Word" in the query "SELECT 'hello' AS Word"), or the column name (e.g., "ColName" in the query "SELECT ColName FROM Table"). Some columns might have an empty name (e.g., !"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type Type
The type of the field.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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