updateTheme abstract method
This method should send a DevToolsExtensionEventType.themeUpdate event to the extension to notify it of a theme change in DevTools.
theme
should be one of ExtensionEventParameters.themeValueLight or
ExtensionEventParameters.themeValueDark.
Implementation
void updateTheme({required String theme});