setAmountIcon method

void setAmountIcon(
  1. AmountType amountType,
  2. String amountIcon
)

Implementation

void setAmountIcon(AmountType amountType, String amountIcon){
  Map<String, String> params = Map<String, String>();
  params['amountType'] = amountType.toString().split(".")[1];
  print("dart:doTradeMode "+amountType.toString().split(".")[1]);
  params['amountIcon'] = amountIcon;
  _methodChannel.invokeMethod('setAmountIcon',params);
}