BankCardInfo.fromMap constructor

BankCardInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

BankCardInfo.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  title = map['title'];
  if (map['actions'] != null) {
    actions = [];
    for (var someValue in map['actions']) {
      if (someValue != null) {
        actions?.add(TdApiMap.fromMap(someValue) as BankCardActionOpenUrl);
      }
    }
  }
}