DataType class

Constants for data types.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of this instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

tryParse(dynamic type) DataType?
Returns the DataType constant corresponding to the specified type.

Constants

lineString → const DataType
Line-string type.
multiPolygon → const DataType
Multi-polygon type.
number → const DataType
Numeric type.
point → const DataType
Point type.
polygon → const DataType
Polygon type.
spatial → const List<DataType>
List of spatial data types.
string → const DataType
String type.