JsonGetAttribute class
- Inheritance
-
- Object
- WarnableClass
- JsonGetAttribute
Constructors
- JsonGetAttribute({required ID? cubitID, required ID? stateID, required ID? variableID, required VariableTypes type, required String jsonPath, int? overridedLoop, FormatOptionsHelper formatOptions = const FormatOptionsHelper(options: []), FormatOptionsHelper listFormatOptions = const FormatOptionsHelper(options: [])})
-
const
Properties
- cubitID → ID?
-
final
- formatOptions → FormatOptionsHelper
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
no setter
- jsonPath → String
-
final
- listFormatOptions → FormatOptionsHelper
-
final
- overridedLoop → int?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateID → ID?
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → VariableTypes
-
final
- variableID → ID?
-
final
Methods
-
copyWith(
{ID? cubitID, ID? stateID, ID? variableID, String? jsonPath, VariableTypes? type, int? overridedLoop, FormatOptionsHelper? formatOptions, FormatOptionsHelper? listFormatOptions}) → JsonGetAttribute -
getCountForLists(
BuildContext context, int loop) → int -
getListValueModified(
dynamic v, BuildContext context, int loop) → dynamic -
getValue(
BuildContext context, {int loop = 0}) → dynamic -
getValueModified(
dynamic v, BuildContext context, int loop) → dynamic -
getWarningAndErrors(
ID nodeID, BuildContext context) → EditorWarningAndErrorsEntity -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → JsonGetAttribute -
fromJsonList(
List json) → List< JsonGetAttribute>