TypeCode enum Null safety

Codes for the data types that can be converted using TypeConverter.

See TypeConverter

Implemented types

Constants

Array → const TypeCode
const TypeCode(11)
Boolean → const TypeCode
const TypeCode(2)
DateTime → const TypeCode
const TypeCode(7)
Double → const TypeCode
const TypeCode(6)
Duration → const TypeCode
const TypeCode(8)
Enum → const TypeCode
const TypeCode(10)
Float → const TypeCode
const TypeCode(5)
Integer → const TypeCode
const TypeCode(3)
Long → const TypeCode
const TypeCode(4)
Map → const TypeCode
const TypeCode(12)
Object → const TypeCode
const TypeCode(9)
String → const TypeCode
const TypeCode(1)
Unknown → const TypeCode
const TypeCode(0)
values → const List<TypeCode>

A constant List of the values in this enum, in order of their declaration.

const List<TypeCode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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