UpiOptions.fromJson constructor

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

Implementation

factory UpiOptions.fromJson(Map<String, dynamic> json) => UpiOptions(
      submissionMethod: json["submission_method"] == null
          ? null
          : json["submission_method"],
      submissionUrl:
          json["submission_url"] == null ? null : json["submission_url"],
    );