Selection class
Represents the basic information of a selection inside a fire atlas file, containing its id and its coordinates and dimensions.
Constructors
- Selection({required String id, required int x, required int y, required int w, required int h})
- Represents the basic information of a selection inside a fire atlas file, containing its id and its coordinates and dimensions.
-
Selection.fromJson(Map<
String, dynamic> json) -
Creates a Selection from
json
.factory
Properties
- h ↔ int
-
The height of the selection.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The id of the selection.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- w ↔ int
-
The width of the selection.
getter/setter pair
- x ↔ int
-
The horizontal coordinate of the selection.
getter/setter pair
- y ↔ int
-
The vertical coordinate of the selection.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited