fromJson static method

FaceApiSearchParams? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static FaceApiSearchParams? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  return FaceApiSearchParams(
    limit: jsonObject["limit"],
    threshold: _toDouble(jsonObject["threshold"])!,
    groupIds: _intListFrom(jsonObject["groupIds"]),
  );
}