TencentCloudChatTheme constructor

TencentCloudChatTheme({
  1. TencentCloudChatThemeModel? themeMode,
  2. Brightness? brightness,
})

Factory constructor that returns the singleton instance of TencentCloudChatTheme.

Implementation

factory TencentCloudChatTheme({
  TencentCloudChatThemeModel? themeMode,
  Brightness? brightness,
}) {
  _instance ??= TencentCloudChatTheme._internal(themeModel: themeMode, brightness: brightness);
  return _instance!;
}