DocumentStage.fromJson constructor

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

Implementation

DocumentStage.fromJson(Map<String, dynamic> json) {
  name = json["name"];
  title = json["title"];
  enableNfc = json["enableNFC"];
  showGuidance = json["showGuidance"];
  useLiveCapture = json["liveCapture"];
  useMlAssistance = json["useMLAssistance"];
  retryLimit = json["retryLimit"];
  countries =
      json["countries"] == null ? null : List<String>.from(json["countries"]);
  documentTypes = json["documentTypes"] == null
      ? null
      : DocumentTypes.fromJson(json["documentTypes"]);
}