toJson method
Implementation
Map<String, dynamic> toJson() => {
'toolbarTitle': toolbarTitle,
'toolbarTitleColor': toolbarTitleColor,
'toolbarTintColor': toolbarTintColor,
'toolbarBackgroundColor': toolbarBackgroundColor,
'sendButtonTintColor': sendButtonTintColor,
'chatBackgroundColor': chatBackgroundColor,
'widgetTheme': widgetTheme,
'noConnectionAlertTextColor': noConnectionAlertTextColor,
'noConnectionAlertBackgroundColor': noConnectionAlertBackgroundColor,
'chatInputPlaceholderColor': chatInputPlaceholderColor,
'chatInputCursorColor': chatInputCursorColor,
'chatInputBackgroundColor': chatInputBackgroundColor,
'sendButtonIcon': sendButtonIcon,
'attachmentButtonIcon': attachmentButtonIcon,
'chatInputSeparatorVisible': chatInputSeparatorVisible,
'chatBannerErrorTextColor': chatBannerErrorTextColor,
'chatBannerErrorTextAppearance': chatBannerErrorTextAppearance,
'chatBannerErrorBackgroundColor': chatBannerErrorBackgroundColor,
'chatBannerErrorIcon': chatBannerErrorIcon,
'chatBannerErrorIconTint': chatBannerErrorIconTint,
'chatFullScreenErrorTitleText': chatFullScreenErrorTitleText,
'chatFullScreenErrorTitleTextColor': chatFullScreenErrorTitleTextColor,
'chatFullScreenErrorTitleTextAppearance': chatFullScreenErrorTitleTextAppearance,
'chatFullScreenErrorDescriptionText': chatFullScreenErrorDescriptionText,
'chatFullScreenErrorDescriptionTextColor': chatFullScreenErrorDescriptionTextColor,
'chatFullScreenErrorDescriptionTextAppearance': chatFullScreenErrorDescriptionTextAppearance,
'chatFullScreenErrorBackgroundColor': chatFullScreenErrorBackgroundColor,
'chatFullScreenErrorIcon': chatFullScreenErrorIcon,
'chatFullScreenErrorIconTint': chatFullScreenErrorIconTint,
'chatFullScreenErrorRefreshButtonText': chatFullScreenErrorRefreshButtonText,
'chatFullScreenErrorRefreshButtonTextColor': chatFullScreenErrorRefreshButtonTextColor,
'chatFullScreenErrorRefreshButtonVisible': chatFullScreenErrorRefreshButtonVisible,
'android': android?.toJson(),
'ios': ios?.toJson(),
};