NotificationSetting.fromJson constructor

NotificationSetting.fromJson(
  1. Map json_
)

Implementation

NotificationSetting.fromJson(core.Map json_)
    : this(
        name: json_['name'] as core.String?,
        notificationTypes: (json_['notificationTypes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        pubsubTopic: json_['pubsubTopic'] as core.String?,
      );