RelativeRotaryLastEvent class

The rotary switch's last event.

Constructors

RelativeRotaryLastEvent({required String action, required RelativeRotaryRotation rotation})
Creates a RelativeRotaryLastEvent object.
RelativeRotaryLastEvent.empty()
Creates an empty RelativeRotaryLastEvent object.
RelativeRotaryLastEvent.fromJson(Map<String, dynamic> dataMap)
Creates a RelativeRotaryLastEvent object from the JSON response to a GET request.
factory

Properties

action String
Which type of rotary event is received.
final
hashCode int
The hash code for this object.
no setteroverride
rotation RelativeRotaryRotation
Describes the rotation of the switch.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? action, RelativeRotaryRotation? rotation}) RelativeRotaryLastEvent
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object into JSON format.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override