toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
'toastEnabled': toastEnabled,
'toastTextColor': toastTextColor?.jsonValue,
'toastBackgroundColor': toastBackgroundColor?.jsonValue,
'targetModeEnabledMessage': targetModeEnabledMessage,
'targetModeDisabledMessage': targetModeDisabledMessage,
'continuousModeEnabledMessage': continuousModeEnabledMessage,
'continuousModeDisabledMessage': continuousModeDisabledMessage,
'cameraTimeoutMessage': cameraTimeoutMessage,
'scanPausedMessage': scanPausedMessage,
'zoomedInMessage': zoomedInMessage,
'zoomedOutMessage': zoomedOutMessage,
'torchEnabledMessage': torchEnabledMessage,
'torchDisabledMessage': torchDisabledMessage,
'userFacingCameraEnabledMessage': userFacingCameraEnabledMessage,
'worldFacingCameraEnabledMessage': worldFacingCameraEnabledMessage,
};
}