batchFlushSeconds property
Implementation
@override
Future<int> get batchFlushSeconds async {
try {
final invoke =
await methodChannel.invokeMethod<int>(MethodNames.batchFlushSeconds);
return invoke ?? Constants.errorMethod;
} catch (error) {
debugPrint(error.toString());
return Constants.errorMethod;
}
}