fromJson static method

CustomizationContentModes fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static CustomizationContentModes fromJson(jsonObject) {
  var result = CustomizationContentModes();
  if (jsonObject == null) return result;
  result.testSetters = {};

  result.nextPageIdCardFront =
      ViewContentMode.getByValue(jsonObject["nextPageIdCardFront"]);
  result.nextPageIdCardBack =
      ViewContentMode.getByValue(jsonObject["nextPageIdCardBack"]);

  return result;
}