ManagedType class

Complex type storage for ManagedEntity attributes.

Constructors

ManagedType(Type? type, ManagedPropertyType? kind, ManagedType? elements, Map<String, dynamic>? enumerationMap)
Creates a new instance.

Properties

elements → ManagedType?
The primitive kind of each element of this type.
final
enumerationMap → Map<String, dynamic>?
For enumerated types, this is a map of the name of the option to its Dart enum type.
final
hashCode → int
The hash code for this object.
no setterinherited
isEnumerated → bool?
Whether this is an enum type.
no setter
kind → ManagedPropertyType?
The primitive kind of this type.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Type?
Dart representation of this type.
final

Methods

isAssignableWith(dynamic dartValue) → bool
Whether dartValue can be assigned to properties with this type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Static Properties

bigInteger → ManagedPropertyType
no setter
boolean → ManagedPropertyType
no setter
datetime → ManagedPropertyType
no setter
document → ManagedPropertyType
no setter
doublePrecision → ManagedPropertyType
no setter
integer → ManagedPropertyType
no setter
list → ManagedPropertyType
no setter
map → ManagedPropertyType
no setter
string → ManagedPropertyType
no setter
supportedDartTypes → List<Type>
no setter

Static Methods

make<T>(ManagedPropertyType kind, ManagedType elements, Map<String, dynamic> enumerationMap) → ManagedType