Type class

Type indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.

Constructors

Type()
Type.fromJson(Map _json)

Properties

arrayElementType Type
If code == ARRAY, then array_element_type is the type of the array elements.
read / write
code String
Required. The TypeCode for this type. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
structType StructType
If code == STRUCT, then struct_type provides type information for the struct's fields.
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 ==(dynamic other) bool
The equality operator. [...]
inherited