Change class

An object which is returned by the WebsocketClient when an order has changed.

https://docs.cloud.coinbase.com/exchange/docs/channels#change

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

Change({String? type, DateTime? time, int? sequence, String? orderId, String? productId, double? newSize, double? oldSize, double? newFunds, double? oldFunds, double? price, SideEnum? side})
Change.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
newFunds double?
final
newSize double?
final
oldFunds double?
final
oldSize double?
final
orderId String?
final
price double?
final
productId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
final
side SideEnum?
final
time DateTime?
final
type String?
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