PageConfig.fromJson constructor

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

Implementation

factory PageConfig.fromJson(Map<String, dynamic> json) => PageConfig(
      backgroundImage: json["background_image"] ?? "",
      displayBill24Info: json["display_bill24_info"] ?? false,
      displaySuccessPage: json["display_success_page"] ?? false,
      appearance: Appearance.fromJson(json["appearance"] ?? {}),
    );