CustomNotificationConfig.fromMap constructor

CustomNotificationConfig.fromMap(
  1. Map<String, dynamic>? param
)

Implementation

factory CustomNotificationConfig.fromMap(Map<String, dynamic>? param) {
  return CustomNotificationConfig(
    enablePush: param?["enablePush"] as bool?,
    enablePushNick: param?["enablePushNick"] as bool?,
    enableUnreadCount: param?["enableUnreadCount"] as bool?,
  );
}