toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "rfidProcessingScreenBackground": _intFromColor(
        rfidProcessingScreenBackground,
      ),
      "rfidProcessingScreenHintLabelText": _intFromColor(
        rfidProcessingScreenHintLabelText,
      ),
      "rfidProcessingScreenHintLabelBackground": _intFromColor(
        rfidProcessingScreenHintLabelBackground,
      ),
      "rfidProcessingScreenProgressLabelText": _intFromColor(
        rfidProcessingScreenProgressLabelText,
      ),
      "rfidProcessingScreenProgressBar": _intFromColor(
        rfidProcessingScreenProgressBar,
      ),
      "rfidProcessingScreenProgressBarBackground": _intFromColor(
        rfidProcessingScreenProgressBarBackground,
      ),
      "rfidProcessingScreenResultLabelText": _intFromColor(
        rfidProcessingScreenResultLabelText,
      ),
      "rfidProcessingScreenLoadingBar": _intFromColor(
        rfidProcessingScreenLoadingBar,
      ),
      "rfidEnableNfcTitleText": _intFromColor(
        rfidEnableNfcTitleText,
      ),
      "rfidEnableNfcDescriptionText": _intFromColor(
        rfidEnableNfcDescriptionText,
      ),
      "rfidEnableNfcButtonText": _intFromColor(
        rfidEnableNfcButtonText,
      ),
      "rfidEnableNfcButtonBackground": _intFromColor(
        rfidEnableNfcButtonBackground,
      ),
      "mdlProcessingScreenBackground": _intFromColor(
        mdlProcessingScreenBackground,
      ),
      "mdlProcessingScreenHintLabelText": _intFromColor(
        mdlProcessingScreenHintLabelText,
      ),
      "mdlProcessingScreenHintLabelBackground": _intFromColor(
        mdlProcessingScreenHintLabelBackground,
      ),
      "mdlProcessingScreenProgressLabelText": _intFromColor(
        mdlProcessingScreenProgressLabelText,
      ),
      "mdlProcessingScreenResultLabelText": _intFromColor(
        mdlProcessingScreenResultLabelText,
      ),
      "mdlProcessingScreenLoadingBar": _intFromColor(
        mdlProcessingScreenLoadingBar,
      ),
      "mdlEnableNfcTitleText": _intFromColor(
        mdlEnableNfcTitleText,
      ),
      "mdlEnableNfcDescriptionText": _intFromColor(
        mdlEnableNfcDescriptionText,
      ),
      "mdlEnableNfcButtonText": _intFromColor(
        mdlEnableNfcButtonText,
      ),
      "mdlEnableNfcButtonBackground": _intFromColor(
        mdlEnableNfcButtonBackground,
      ),
      "nextPageIdCardFront": _intFromColor(
        nextPageIdCardFront,
      ),
      "nextPageIdCardBack": _intFromColor(
        nextPageIdCardBack,
      ),
      "nextPagePassportShift": _intFromColor(
        nextPagePassportShift,
      ),
      "nextPagePassportFlip": _intFromColor(
        nextPagePassportFlip,
      ),
    }.clearNulls();