clearFont method

Future<void> clearFont(
  1. ClearFontDetails details
)

Clears the font set by this extension, if any.

Implementation

Future<void> clearFont(ClearFontDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.fontSettings.clearFont(details.toJS));
}