PaymentGateWay.fromJson constructor
PaymentGateWay.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PaymentGateWay.fromJson(Map<String, dynamic> json) => PaymentGateWay(
id: json["id"],
title: json["title"],
description: json["description"],
order: json["order"],
enabled: json["enabled"],
methodTitle: json["method_title"],
methodDescription: json["method_description"],
methodSupports:
List<String>.from(json["method_supports"].map((x) => x)),
settings: Settings.fromJson(json["settings"]),
links: Links.fromJson(json["_links"]),
);