ListSharedResourceSubscriptionsResponse.fromJson constructor

ListSharedResourceSubscriptionsResponse.fromJson(
  1. Map json_
)

Implementation

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