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