fromJson static method
Implementation
@visibleForTesting
static FaceCaptureException? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = FaceCaptureException._privateConstructor();
result._code = FaceCaptureErrorCode.getByValue(jsonObject["code"])!;
result._message = jsonObject["message"] ?? "";
return result;
}