fromJson static method

GlaresCheckParams? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static GlaresCheckParams? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  return GlaresCheckParams(
    imgMarginPart: _toDouble(jsonObject["imgMarginPart"]),
    maxGlaringPart: _toDouble(jsonObject["maxGlaringPart"]),
  );
}