PanTilt class Null safety
- Annotations
Constructors
- PanTilt({required num x, required num y, String? space})
- PanTilt.fromInt({required int x, required int y})
-
helper to allow an int for 1 - 10000 in place of the double
factory
-
PanTilt.fromJson(Map<
String, dynamic> json) -
factory
- PanTilt.fromString({required String x, required String y})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- space → String?
-
@JsonKey(name: '@space'), final
- x → num
-
@JsonKey(name: '@x', fromJson: num.parse), final
- y → num
-
@JsonKey(name: '@y', fromJson: num.parse), final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited