Variable class abstract

Implementers

Constructors

Variable({required ID id, required String name, required VariableTypes type, required bool isNullable})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → ID
final
isNullable → bool
final
name → ID
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type → VariableTypes
final

Methods

copyWith({String? name, bool? isNullable}) → Variable
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setData(Variable variable, dynamic value, {String? modelID, String? enumValue}) → Variable
toJson() → Map<String, dynamic>
toString() → ID
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → Variable
fromJsonList(List json) → List<Variable>
getData(Variable variable, {int? loop, ModelFieldGetAttribute? modelAttribute, Map<ID, ModelEntity>? models}) → dynamic