eventGetOccurrences method Null safety

Future<int?> eventGetOccurrences(
  1. String eventName
)

Returns the total count of the specified event

Implementation

static Future<int?> eventGetOccurrences(String eventName) async {
  return await _channel
      .invokeMethod('eventGetOccurrences', {'eventName': eventName});
}