flush static method
Implementation
static Future<void> flush() async {
try {
await _channel.invokeMethod('flush');
} on PlatformException catch (e) {
// ignore: avoid_print
print('Failed to flush events: ${e.message}');
}
}
static Future<void> flush() async {
try {
await _channel.invokeMethod('flush');
} on PlatformException catch (e) {
// ignore: avoid_print
print('Failed to flush events: ${e.message}');
}
}