Product class
A product object such as BTC or ETH.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- Product({String? id, String? displayName, String? baseCurrency, String? quoteCurrency, double? baseIncrement, double? quoteIncrement, double? baseMinSize, double? baseMaxSize, double? minMarketFunds, double? maxMarketFunds, String? status, String? statusMessage, bool? cancelOnly, bool? limitOnly, bool? postOnly, bool? tradingDisabled, bool? marginEnabled})
-
Product.fromJson(Map<
String, dynamic> json) -
factory
Properties
- baseCurrency → String?
-
final
- baseIncrement → double?
-
final
- baseMaxSize → double?
-
final
- baseMinSize → double?
-
final
- cancelOnly → bool?
-
final
- displayName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- limitOnly → bool?
-
final
- marginEnabled → bool?
-
final
- maxMarketFunds → double?
-
final
- minMarketFunds → double?
-
final
- postOnly → bool?
-
final
- quoteCurrency → String?
-
final
- quoteIncrement → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
final
- statusMessage → String?
-
final
- tradingDisabled → bool?
-
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