Authorization.fromJson constructor

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

Implementation

Authorization.fromJson(Map<String, dynamic> json) {
  this.mode = json['mode'];
  this.endpoint = json['endpoint'];
  this.fields = json["fields"];
  this.redirect = json["redirect"];
  this.pin = json["pin"];
  this.otp = json["otp"];
  this.address = json["address"];
  this.city = json["city"];
  this.state = json["state"];
  this.zipcode = json["zipcode"];
  this.country = json["country"];
  this.note = json["note"];
  this.validateInstructions = json["validate_instructions"];
}