fromJson static method

GlaresCheckParams? fromJson(
  1. dynamic jsonObject
)

Implementation

static GlaresCheckParams? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new GlaresCheckParams();

  result.imgMarginPart = jsonObject["imgMarginPart"] == null ? null : jsonObject["imgMarginPart"].toDouble();
  result.maxGlaringPart = jsonObject["maxGlaringPart"] == null ? null : jsonObject["maxGlaringPart"].toDouble();

  return result;
}