LimitGTD.fromCBJson constructor

LimitGTD.fromCBJson(
  1. Map<String, dynamic> json
)

Implementation

LimitGTD.fromCBJson(Map<String, dynamic> json)
    : quoteSize = nullableDouble(json, 'quote_size'),
      baseSize = nullableDouble(json, 'base_size'),
      limitPrice = nullableDouble(json, 'limit_price'),
      endTime = DateTime.parse(json['end_time']),
      postOnly = json['post_only'];