setThemeMode method

Future<void> setThemeMode(
  1. JVThemeMode mode
)

Sets the theme mode for the chat UI. JVThemeMode.system = follow system, light = force light, dark = force dark.

Implementation

Future<void> setThemeMode(JVThemeMode mode) async {
  await _channel.invokeMethod<void>(
      'display:setThemeMode', mode.name);
}