Type<T extends Object> class abstract

Supported data types.

Constructors

Type(int? oid)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
oid int?
The object ID of this data type.
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.
override
value(T value) TypedValue<T>

Operators

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

Constants

bigInteger → const GenericType<int>
Must be an int (8-byte integer)
bigIntegerArray → const GenericType<List<int>>
Must be a List<int>
bigIntegerRange → const GenericType<IntRange>
Must be a IntRange
bigSerial → const GenericType<int>
Must be an int (autoincrementing 8-byte integer)
boolean → const GenericType<bool>
Must be a bool
booleanArray → const GenericType<List<bool>>
Must be a List<bool>
box → const GenericType<Box>
Must be a Box
byteArray → const GenericType<List<int>>
Must be a List of int.
character → const GenericType<String>
Must be a String
circle → const GenericType<Circle>
Must be a Circle
date → const GenericType<DateTime>
Must be a DateTime (contains year, month and day only)
dateArray → const GenericType<List<DateTime>>
Must be a List<DateTime>
dateRange → const GenericType<DateRange>
Must be a DateRange
double → const GenericType<double>
Must be a double (64-bit floating point value)
doubleArray → const GenericType<List<double>>
Must be a List<double>
integer → const GenericType<int>
Must be an int (4-byte integer)
integerArray → const GenericType<List<int>>
Must be a List<int>
integerRange → const GenericType<IntRange>
Must be a IntRange
interval → const GenericType<Interval>
Must be a Interval
json → const GenericType<Object>
Must be encodable via core.json.encode.
jsonb → const GenericType<Object>
Must be encodable via json.encode.
jsonbArray → const GenericType<List>
Must be a List of encodable objects
line → const GenericType<Line>
Must be a Line
lineSegment → const GenericType<LineSegment>
Must be a LineSegment
name → const GenericType<String>
Must be a String
numeric → const GenericType<Object>
An arbitrary-precision number.
path → const GenericType<Path>
Must be a Path
point → const GenericType<Point>
Must be a Point
polygon → const GenericType<Polygon>
Must be a Polygon
real → const GenericType<double>
Must be a double (32-bit floating point value)
regtype → const GenericType<Type<Object>>
Must be a Type.
serial → const GenericType<int>
Must be an int (autoincrementing 4-byte integer)
smallInteger → const GenericType<int>
Must be an int (2-byte integer)
smallIntegerArray → const GenericType<List<int>>
Must be a List<int>
text → const GenericType<String>
Must be a String.
textArray → const GenericType<List<String>>
Must be a List<String>
time → const GenericType<Time>
Must be a Time
timeArray → const GenericType<List<Time>>
Must be a List<Time>
timestamp → const GenericType<DateTime>
Must be a DateTime (microsecond date and time precision)
timestampArray → const GenericType<List<DateTime>>
Must be a List<DateTime> (microsecond date and time precision)
timestampRange → const GenericType<DateTimeRange>
Must be a Range<Object>
timestampTz → const GenericType<DateTime>
Must be a DateTime (microsecond date and time precision)
timestampTzArray → const GenericType<List<DateTime>>
Must be a List<DateTime> (microsecond date and time precision)
timestampTzRange → const GenericType<DateTimeRange>
Must be a Range<DateTime>
timestampWithoutTimezone → const GenericType<DateTime>
Please use Type.timestamp instead.
timestampWithTimezone → const GenericType<DateTime>
Please use Type.timestampTz instead.
tsquery → const TsQueryType
Must be a TsQuery.
tsvector → const TsVectorType
Must be a TsVector.
unspecified → const UnspecifiedType
Used to represent value without any type representation.
uuid → const GenericType<String>
Must be a String.
uuidArray → const GenericType<List<String>>
Must be a List<String>.
varChar → const GenericType<String>
Must be a String
varCharArray → const GenericType<List<String>>
Must be a List<String>
voidType → const GenericType<Object>
Impossible to bind to, always null when read.