NotificationService constructor

NotificationService(
  1. Future<void> platformChannelInvoke(
    1. String,
    2. Map<String, dynamic>
    )
)

Implementation

NotificationService(this.platformChannelInvoke) {
  if (enableNotificationService) {
    startHeadlessService();
  }
}