NotificationChannel.fromMap constructor

NotificationChannel.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory NotificationChannel.fromMap(Map<String, dynamic> map) {
  return NotificationChannel(
    id: map['id'],
    name: map['name'],
    description: map['description'],
    importance: map['importance'],
  );
}