ChannelSettings.fromMap constructor

ChannelSettings.fromMap(
  1. Map map
)

Implementation

factory ChannelSettings.fromMap(Map<dynamic, dynamic> map) {
  return ChannelSettings(
    channelId: map['channelId'],
    importance: map['importance'],
    isCanBypassDns: map['isCanBypassDns'],
    isCanShowBadge: map['isCanShowBadge'],
    isShouldVibrate: map['isShouldVibrate'],
    isShouldShowLights: map['isShouldShowLights'],
  );
}