fromJson static method

  1. @visibleForTesting
MatchFacesBackendException? fromJson(
  1. dynamic jsonObject
)

Implementation

@visibleForTesting
static MatchFacesBackendException? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = MatchFacesBackendException._privateConstructor();

  result._code = jsonObject["code"];
  result._message = jsonObject["message"] ?? "";

  return result;
}