TemplateNodeModel class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TemplateNodeModel({required String id, required String type, String? parentId, required String name, required Map<
String, dynamic> properties}) -
TemplateNodeModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- name → String
-
final
- parentId → String?
-
final
-
properties
→ Map<
String, dynamic> -
Properties map that allows dynamic placeholders.
Example: { "lengthMeters": "{{user_length}}" }
Values can be Strings (placeholders) or primitives (numbers, bools).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
final
Methods
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited