ListStreamObjectsResponse.fromJson constructor

ListStreamObjectsResponse.fromJson(
  1. Map json_
)

Implementation

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