refresh method
Implementation
Future<void> refresh() async {
try {
await channel.invokeMethod('refresh');
} on PlatformException catch (e) {
print(e.message);
}
}
Future<void> refresh() async {
try {
await channel.invokeMethod('refresh');
} on PlatformException catch (e) {
print(e.message);
}
}