ListTopicsResponse.fromJson constructor

ListTopicsResponse.fromJson(
  1. Map json_
)

Implementation

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