ModelDefinition class

Constructors

ModelDefinition({required String className, required List<ModelField> fields, bool constructor = true, bool equatable = true, bool copyWith = false, bool fromMap = true, bool toMap = false})

Properties

className → String
final
constructor → bool
final
copyWith → bool
final
equatable → bool
final
fields → List<ModelField>
final
fromMap → bool
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toMap → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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