EasySupportConfig class
Constructors
-
EasySupportConfig({required String baseUrl, required String channelToken, String? apiBaseUrl, String? channelKey, String? widgetTitle, String? webViewUrl, bool autoOpen = true, bool isEmojiEnabled = true, bool isMediaEnabled = true, bool useWebSocketChannel = false, String? webSocketChannelUrl, bool webSocketChannelSocketIoMode = false, String? socketPath, String? socketNamespace, List<String> socketTransports = const <String>['websocket', 'polling'], Map<String, dynamic> socketQuery = const <String, dynamic>{}, Map<String, dynamic> socketAuth = const <String, dynamic>{}, })
-
const
-
EasySupportConfig.essentials({required String baseUrl, required String channelToken})
-
const
-
EasySupportConfig.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
copyWith({String? baseUrl, String? channelToken, String? apiBaseUrl, String? channelKey, String? widgetTitle, String? webViewUrl, bool? autoOpen, bool? isEmojiEnabled, bool? isMediaEnabled, bool? useWebSocketChannel, String? webSocketChannelUrl, bool? webSocketChannelSocketIoMode, String? socketPath, String? socketNamespace, List<String>? socketTransports, Map<String, dynamic>? socketQuery, Map<String, dynamic>? socketAuth, })
→ EasySupportConfig
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJavaScriptOptions()
→ Map<String, dynamic>
-
-
toJavaScriptOptionsJson()
→ String
-
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited