setAppGroupId static method
Required on iOS to set the AppGroupId groupId
in order to ensure
communication between the App and the Widget Extension
Implementation
static Future<bool?> setAppGroupId(String groupId) {
HomeWidget.groupId = groupId;
return _channel.invokeMethod('setAppGroupId', {'groupId': groupId});
}