toJson method
Dont change order of toJson the key index must be equal to protoConfig fields.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'market_id': marketId,
'subaccount_id': subaccountId,
'mark_price': markPrice,
'order_hash': orderHash,
'cid': cid,
'error_description': errorDescription,
};
}