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,
'android': android?.toJson(),
'ios': ios?.toJson(),
};