fromJson static method

CustomizationImages fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static CustomizationImages fromJson(jsonObject) {
  var result = CustomizationImages();
  result.testSetters = {};

  result._onboardingScreenCloseButton = _dataFromBase64(jsonObject["100"])!;
  result._onboardingScreenIllumination = _dataFromBase64(jsonObject["101"])!;
  result._onboardingScreenAccessories = _dataFromBase64(jsonObject["102"])!;
  result._onboardingScreenCameraLevel = _dataFromBase64(jsonObject["103"])!;
  result._cameraScreenCloseButton = _dataFromBase64(jsonObject["200"])!;
  result._cameraScreenLightOnButton = _dataFromBase64(jsonObject["201"])!;
  result._cameraScreenLightOffButton = _dataFromBase64(jsonObject["202"])!;
  result._cameraScreenSwitchButton = _dataFromBase64(jsonObject["203"])!;
  result._retryScreenCloseButton = _dataFromBase64(jsonObject["300"])!;
  result._retryScreenHintEnvironment = _dataFromBase64(jsonObject["301"])!;
  result._retryScreenHintSubject = _dataFromBase64(jsonObject["302"])!;
  result._processingScreenCloseButton = _dataFromBase64(jsonObject["400"])!;
  result._successScreenImage = _dataFromBase64(jsonObject["500"])!;

  return result;
}