ManagedType class Null safety

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.
read-onlyinherited
isEnumerated bool
Whether this is an enum type.
read-only
kind ManagedPropertyType
The primitive kind of this type.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 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

Static Properties

bigInteger ManagedPropertyType
read-only
boolean ManagedPropertyType
read-only
datetime ManagedPropertyType
read-only
document ManagedPropertyType
read-only
doublePrecision ManagedPropertyType
read-only
integer ManagedPropertyType
read-only
list ManagedPropertyType
read-only
map ManagedPropertyType
read-only
string ManagedPropertyType
read-only
supportedDartTypes List<Type>
read-only

Static Methods

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