ChannelRegistry class final

In-memory Android channel registry.

Constructors

ChannelRegistry()

Properties

channels → UnmodifiableMapView<String, NotificationChannel>
Registered channels keyed by id.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

find(String id) → NotificationChannel?
Returns the channel for id, if registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(NotificationChannel channel) → void
Adds or replaces a channel definition.
registerAll(Iterable<NotificationChannel> channels) → void
Registers every channel in channels.
toString() → String
A string representation of this object.
inherited

Operators

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