createCustomChannel method
Future<bool>
createCustomChannel({
- required String channelId,
- required String channelName,
- String? channelDescription,
- int? importance,
- bool? enableLights,
- int? lightColor,
- bool? enableVibration,
- bool? enableSound,
override
Create a custom notification channel.
Implementation
@override
Future<bool> createCustomChannel({
required String channelId,
required String channelName,
String? channelDescription,
int? importance,
bool? enableLights,
int? lightColor,
bool? enableVibration,
bool? enableSound,
}) async {
// Web doesn't have notification channels like Android
// We'll just return true to indicate success
return true;
}