ListLogEntriesResponse.fromJson constructor

ListLogEntriesResponse.fromJson(
  1. Map json_
)

Implementation

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