NotificationChannel class

Constructors

NotificationChannel({required String id, required String name, required String description, required int importance})
NotificationChannel.fromMap(Map<String, dynamic> map)
factory

Properties

description ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String
getter/setter pair
importance ↔ int
getter/setter pair
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? name, String? description, int? importance}) → NotificationChannel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Constants

IMPORTANCE_DEFAULT → const int
IMPORTANCE_HIGH → const int
IMPORTANCE_LOW → const int
IMPORTANCE_MAX → const int
IMPORTANCE_MIN → const int
IMPORTANCE_NONE → const int
IMPORTANCE_UNSPECIFIED → const int