PrototypeDevice class
A device used for a prototype.
- Available Extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- PrototypeDevice({required PrototypeDeviceType type, required PrototypeDeviceRotation rotation, Size? size, String? presetIdentifier})
-
PrototypeDevice.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- presetIdentifier → String?
-
Identifier of the preset device type.
final
- rotation → PrototypeDeviceRotation
-
Device rotation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size?
-
Size of the device.
final
- type → PrototypeDeviceType
-
Device type used for the prototype.
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