ListNotificationChannelsResponse.fromJson constructor

ListNotificationChannelsResponse.fromJson(
  1. Map json_
)

Implementation

ListNotificationChannelsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        notificationChannels: json_.containsKey('notificationChannels')
            ? (json_['notificationChannels'] as core.List)
                .map((value) => NotificationChannel.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
      );