toCBJson method
Converts a StopLimitGTC to a Coinbase JSON object.
Implementation
Map<String, dynamic> toCBJson() => {
'quote_size': quoteSize,
'base_size': baseSize,
'limit_price': limitPrice,
'stop_price': stopPrice,
'stop_direction': stopDirection?.toCB(),
};