ModelField class
- Annotations
-
- @immutable
Constructors
-
ModelField({required String name, required ModelFieldType type, required bool isRequired, bool isArray = false, bool isReadOnly = false, ModelAssociation? association, List<
AuthRule> ? authRules}) -
const
Properties
- association → ModelAssociation?
-
final
-
authRules
→ List<
AuthRule> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isArray → bool
-
final
- isReadOnly → bool
-
final
- isRequired → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ModelFieldType
-
final
Methods
-
copyWith(
{String? name, ModelFieldType? type, bool? isRequired, bool? isArray, bool? isReadOnly, ModelAssociation? association, List< AuthRule> ? authRules}) → ModelField -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override