NodeMeta class
- Annotations
-
- @freezed
Constructors
-
NodeMeta({String? id, required String title, @OffsetJsonConverter() @Default.new(Offset.zero) Offset center, @Default.new(false) bool isPositionLocked, @SizeJsonConverter() @Default.new(Size.zero) Size size, @Default.new({}) Map<
String, dynamic> data}) -
constfactory
-
NodeMeta.fromJson(Map<
String, dynamic> json) -
factory
Properties
- center → Offset
-
no setterinherited
-
copyWith
→ $NodeMetaCopyWith<
NodeMeta> -
Create a copy of NodeMeta
with the given fields replaced by the non-null parameter values.
no setterinherited
-
data
→ Map<
String, dynamic> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- isPositionLocked → bool
-
no setterinherited
- radius → double
-
no setter
- rect → Rect
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
no setterinherited
- title → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this NodeMeta to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited