FidMessage constructor
FidMessage({
- required String fid,
- Map<
String, String> ? data, - Notification? notification,
- AndroidConfig? android,
- WebpushConfig? webpush,
- ApnsConfig? apns,
- FcmOptions? fcmOptions,
Creates a message for the non-empty Firebase Installation ID fid.
Implementation
FidMessage({
required this.fid,
super.data,
super.notification,
super.android,
super.webpush,
super.apns,
super.fcmOptions,
}) : super._() {
if (fid.isEmpty) {
throw ArgumentError.value(fid, 'fid', 'must be non-empty');
}
}