Trade class

A trade for a given product.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

Trade({DateTime? time, int? tradeId, double? price, double? size, SideEnum? side})
Trade.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
price double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
side SideEnum?
final
size double?
final
time DateTime?
final
tradeId int?
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