ListMessagesResponse.fromJson constructor

ListMessagesResponse.fromJson(
  1. Map json_
)

Implementation

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