ModelProperty class
ModelProperty describes a single property of an entity, i.e. its id, name, type and flags.
Constructors
-
ModelProperty(IdUid id,
String name, int type, int flags, ModelEntity entity ) -
ModelProperty.fromMap(Map<
String, dynamic> data,ModelEntity entity, {bool check: true} )
Properties
- entity ↔ ModelEntity
-
read / write
- flags ↔ int
-
read / write
- id ↔ IdUid
-
read / write
- name ↔ String
-
read / write
- type ↔ int
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
containsUid(
int searched ) → bool -
toMap(
) → Map< String, dynamic> -
validate(
) → void -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited