saveWidgetData<T> static method
Save data
to the Widget Storage
Returns whether the data was saved or not
Implementation
static Future<bool?> saveWidgetData<T>(String id, T? data) {
return _channel.invokeMethod<bool>('saveWidgetData', {
'id': id,
'data': data,
});
}