ListSinksResponse.fromJson constructor

ListSinksResponse.fromJson(
  1. Map json_
)

Implementation

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