ListSubscriptionsResponse.fromJson constructor

ListSubscriptionsResponse.fromJson(
  1. Map json_
)

Implementation

ListSubscriptionsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        subscriptions: json_.containsKey('subscriptions')
            ? (json_['subscriptions'] as core.List)
                .map((value) => Subscription.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );