fromJson static method

CustomizationFonts fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result._onboardingScreenStartButton = Font.fromJson(jsonObject["100"]);
  result._onboardingScreenTitleLabel = Font.fromJson(jsonObject["101"]);
  result._onboardingScreenSubtitleLabel = Font.fromJson(jsonObject["102"]);
  result._onboardingScreenMessageLabels = Font.fromJson(jsonObject["103"]);
  result._cameraScreenHintLabel = Font.fromJson(jsonObject["200"]);
  result._retryScreenRetryButton = Font.fromJson(jsonObject["300"]);
  result._retryScreenTitleLabel = Font.fromJson(jsonObject["301"]);
  result._retryScreenSubtitleLabel = Font.fromJson(jsonObject["302"]);
  result._retryScreenHintLabels = Font.fromJson(jsonObject["303"]);
  result._processingScreenLabel = Font.fromJson(jsonObject["400"]);

  return result;
}