fromJson static method

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

Implementation

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

  result._api = jsonObject["api"];
  result._core = jsonObject["core"];
  result._coreMode = jsonObject["coreMode"];

  return result;
}