NotificationConfig class

Configuration for the foreground notification (Android).

Constructors

NotificationConfig({String? title, String? text, String? smallIcon, String? largeIcon, String? layout, List<String>? actions, JsonMap? strings, int? importance})
const
NotificationConfig.fromMap(JsonMap map)
factory

Properties

actions List<String>?
List of action button identifiers.
final
hashCode int
The hash code for this object.
no setterinherited
importance int?
Notification importance (Android): 1=Low, 2=Default, 3=High.
final
largeIcon String?
Large icon resource name.
final
layout String?
Custom layout resource name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallIcon String?
Small icon resource name.
final
strings JsonMap?
Localized strings for notification.
final
text String?
Notification text/body.
final
title String?
Notification title.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited