Match class

An object returned by the WebsocketClient that indicates a trade occurred between two orders.

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

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

Constructors

Match({String? type, int? tradeId, int? sequence, String? makerOrderId, String? takerOrderId, DateTime? time, String? productId, double? size, double? price, SideEnum? side, String? takerUserId, String? userId, String? takerProfileId, String? profileId, double? takerFeeRate, String? makerUserId, String? makerProfileId, String? makerFeeRate})
Match.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
makerFeeRate String?
final
makerOrderId String?
final
makerProfileId String?
final
makerUserId String?
final
price double?
final
productId String?
final
profileId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int?
final
side SideEnum?
final
size double?
final
takerFeeRate double?
final
takerOrderId String?
final
takerProfileId String?
final
takerUserId String?
final
time DateTime?
final
tradeId int?
final
type String?
final
userId 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