HideFundingMethods.fromJson constructor

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

Implementation

factory HideFundingMethods.fromJson(Map<String, dynamic> json) =>
    HideFundingMethods(
      id: json["id"],
      label: json["label"],
      description: json["description"],
      type: typeValues.map[json["type"]],
      value: json["value"],
      hideFundingMethodsDefault:
          List<String>.from(json["default"].map((x) => x)),
      tip: json["tip"],
      placeholder: json["placeholder"],
      options: HideFundingMethodsOptions.fromJson(json["options"]),
    );