setNotificationStopButtonText method

  1. @override
Future<bool> setNotificationStopButtonText(
  1. String text
)
override

Set notification stop button text

Implementation

@override
Future<bool> setNotificationStopButtonText(String text) async {
  final result = await methodChannel.invokeMethod<bool>(
    'set_notification_stop_button_text',
    text,
  );
  return result ?? false;
}