BankSubscriptionMethod.fromJson constructor

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

Implementation

factory BankSubscriptionMethod.fromJson(Map<String, dynamic> json) =>
    BankSubscriptionMethod(
      supportDeeplink: json["support_deeplink"] ?? false,
      supportWeb: json["support_web"] ?? false,
      name: json["name"] ?? "",
      nameKh: json["name_kh"] ?? "",
      id: json["id"] ?? "",
      logo: json["logo"] ?? "",
    );