getAlarmsPath method

  1. @override
Future<String?> getAlarmsPath()
override

Implementation

@override
Future<String?> getAlarmsPath() async {
  try {
    if (!Platform.isAndroid) throw _unsupportedPlatformException();
    return await methodChannel.invokeMethod<String>('getAlarmsPath');
  } on PlatformException catch (e) {
    debugPrint('Error getting alarms path: ${e.message}');
    return null;
  }
}