BankCardInfo.fromJson constructor

BankCardInfo.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

BankCardInfo.fromJson(Map<String, dynamic> json) {
  this.title = json['title'];
  this.actions = List<BankCardActionOpenUrl>.from((json['actions'] ?? [])
      .map((item) =>
          BankCardActionOpenUrl.fromJson(item ?? <String, dynamic>{}))
      .toList());
  this.extra = json['@extra'];
}