startNotificationForegroundWillDisplayHandler method
Implementation
@override
Future<void> startNotificationForegroundWillDisplayHandler(
NotificationForegroundWillDisplayHandler handler,
) async {
// 핸들러 등록
_notificationForegroundWillDisplayHandler = handler;
debugPrint('_notificationForegroundWillDisplayHandler has been registered');
// 네이티브 메서드 호출
await methodChannel.invokeMethod<void>(
'startNotificationForegroundWillDisplayHandler',
);
}