refresh static method

Future<void> refresh(
  1. String widgetName
)

Triggers a refresh of a specific home widget.

Implementation

static Future<void> refresh(String widgetName) async {
  await _channel.invokeMethod('refresh', {
    'widgetName': widgetName,
    'appGroupId': _appGroupId,
  });
}