toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "100": _dataToBase64(_onboardingScreenCloseButton),
      "101": _dataToBase64(_onboardingScreenIllumination),
      "102": _dataToBase64(_onboardingScreenAccessories),
      "103": _dataToBase64(_onboardingScreenCameraLevel),
      "200": _dataToBase64(_cameraScreenCloseButton),
      "201": _dataToBase64(_cameraScreenLightOnButton),
      "202": _dataToBase64(_cameraScreenLightOffButton),
      "203": _dataToBase64(_cameraScreenSwitchButton),
      "300": _dataToBase64(_retryScreenCloseButton),
      "301": _dataToBase64(_retryScreenHintEnvironment),
      "302": _dataToBase64(_retryScreenHintSubject),
      "400": _dataToBase64(_processingScreenCloseButton),
      "500": _dataToBase64(_successScreenImage),
    }.clearNulls();