IMobileMoneyPhoneCode.fromJson constructor

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

Implementation

factory IMobileMoneyPhoneCode.fromJson(Map<String, dynamic> json) {
  return IMobileMoneyPhoneCode(
    label: json.containsKey('label') ? json['label'] : '-',
    value: json.containsKey('value') ? json['value'] : '-',
  );
}