NotificationChannel class Null safety

Constructors

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

Properties

description String
read / write
hashCode int
The hash code for this object. [...]
read-only, override
id String
read / write
importance int
read / write
name String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({String? id, String? name, String? description, int? importance}) NotificationChannel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
3
IMPORTANCE_HIGH → const int
4
IMPORTANCE_LOW → const int
2
IMPORTANCE_MAX → const int
5
IMPORTANCE_MIN → const int
1
IMPORTANCE_NONE → const int
0
IMPORTANCE_UNSPECIFIED → const int
-1000