getBeep method
Implementation
@override
Future<bool?> getBeep(int time) async {
// Invoke the native method 'getBeep' with the specified 'time' parameter and return the result.
final callBeep =
await methodChannel.invokeMethod<bool>('getBeep', {"time": time});
return callBeep;
}