StopLimitGTD.fromJson constructor
Creates a StopLimitGTD from a JSON object.
Implementation
StopLimitGTD.fromJson(Map<String, dynamic> json)
: quoteSize = json['quoteSize'],
baseSize = json['baseSize'],
limitPrice = json['limitPrice'],
stopPrice = json['stopPrice'],
endTime = json['endTime'],
stopDirection = json['stopDirection'] != null
? StopDirection.fromCB(json['stopDirection'])
: null;