getAccountName method

String getAccountName(
  1. int type
)

Implementation

String getAccountName(int type) {
  String name = "";
  if (type == 0) {
    name = bank!.account[0].accountName;
  } else if (type == 1) {
    name = alipay!.account[0].accountName;
  } else {
    name = usdt!.account[0].accountName;
  }
  return name;
}