AndroidConfiguration constructor
AndroidConfiguration({
- required dynamic onStart(
- ServiceInstance service
- bool autoStart = true,
- bool autoStartOnBoot = true,
- required bool isForegroundMode,
- required String currentDay,
- required String currentJalaliDate,
- required String currentMiladiDate,
- required String currentHijriDate,
- String? notificationChannelId,
- int foregroundServiceNotificationId = 112233,
Implementation
AndroidConfiguration({
required this.onStart,
this.autoStart = true,
this.autoStartOnBoot = true,
required this.isForegroundMode,
required this.currentDay,
required this.currentJalaliDate,
required this.currentMiladiDate,
required this.currentHijriDate,
this.notificationChannelId,
this.foregroundServiceNotificationId = 112233,
});