Order class
An an object which contains information about an order.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
Constructors
- Order({String? id, double? price, double? size, String? productId, String? profileId, SideEnum? side, OrderEnum? type, String? timeInForce, bool? postOnly, DateTime? createdAt, double? fillFees, double? filledSize, double? executedValue, StatusEnum? status, bool? settled})
-
Order.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → DateTime?
-
final
- executedValue → double?
-
final
- filledSize → double?
-
final
- fillFees → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- postOnly → bool?
-
final
- price → double?
-
final
- productId → String?
-
final
- profileId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settled → bool?
-
final
- side → SideEnum?
-
final
- size → double?
-
final
- status → StatusEnum?
-
final
- timeInForce → String?
-
final
- type → OrderEnum?
-
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