orderTypeMap top-level constant

Map<String, OrderType> const orderTypeMap

Maps OrderType to a Binance string

Implementation

const orderTypeMap = <String, OrderType>{
  'LIMIT': OrderType.limit,
  'MARKET': OrderType.market,
  'STOP_LOSS': OrderType.stopLoss,
  'STOP_LOSS_LIMIT': OrderType.stopLossLimit,
  'TAKE_PROFIT': OrderType.takeProfit,
  'TAKE_PROFIT_LIMIT': OrderType.takeProfitLimit,
  'LIMIT_MAKER': OrderType.limitMaker
};