ListThreadsResponse.fromJson constructor

ListThreadsResponse.fromJson(
  1. Map json_
)

Implementation

ListThreadsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_['nextPageToken'] as core.String?,
        resultSizeEstimate: json_['resultSizeEstimate'] as core.int?,
        threads: (json_['threads'] as core.List?)
            ?.map((value) =>
                Thread.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
      );