DragballPosition class

Constructors

DragballPosition({required double top, required bool isRight, required BallState ballState})
const
DragballPosition.defaultPosition()
const
DragballPosition.fromJSON(Map<String, dynamic> json)
factory

Properties

ballState BallState
final
hashCode int
The hash code for this object.
no setteroverride
isRight bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
final

Methods

copyWith({double? top, bool? isRight, BallState? ballState}) DragballPosition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(covariant DragballPosition other) bool
The equality operator.
override