batchFlushSeconds property

  1. @override
Future<int> batchFlushSeconds
override

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;
  }
}