# UserGuidanceStates.fromJson constructor

UserGuidanceStates.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory UserGuidanceStates.fromJson(Map<String, dynamic> json) =>
        UserGuidanceStates(
          noDocumentFound: json.containsKey("noDocumentFound")
              ? json["noDocumentFound"] as String
              : "?cameraUserGuidanceNoDocumentFound",
          badAspectRatio: json.containsKey("badAspectRatio")
              ? json["badAspectRatio"] as String
              : "?cameraUserGuidanceBadAspectRatio",
          badAngles: json.containsKey("badAngles")
              ? json["badAngles"] as String
              : "?cameraUserGuidanceBadAngles",
          textHintOffCenter: json.containsKey("textHintOffCenter")
              ? json["textHintOffCenter"] as String
              : "?cameraUserGuidanceTextHintOffCenter",
          tooSmall: json.containsKey("tooSmall")
              ? json["tooSmall"] as String
              : "?cameraUserGuidanceTooSmall",
          tooNoisy: json.containsKey("tooNoisy")
              ? json["tooNoisy"] as String
              : "?cameraUserGuidanceTooNoisy",
          tooDark: json.containsKey("tooDark")
              ? json["tooDark"] as String
              : "?cameraUserGuidanceTooDark",
          energySaveMode: json.containsKey("energySaveMode")
              ? json["energySaveMode"] as String
              : "?cameraUserGuidanceEnergySaveMode",
          readyToCapture: json.containsKey("readyToCapture")
              ? json["readyToCapture"] as String
              : "?cameraUserGuidanceReadyToCapture",
          capturing: json.containsKey("capturing")
              ? json["capturing"] as String
              : "?cameraUserGuidanceReadyToCapture",
          captureManual: json.containsKey("captureManual")
              ? json["captureManual"] as String
              : "?cameraUserGuidanceReadyToCaptureManual",
        );