ListAssetsResponse.fromJson constructor

ListAssetsResponse.fromJson(
  1. Map json_
)

Implementation

ListAssetsResponse.fromJson(core.Map json_)
    : this(
        listAssetsResults: json_.containsKey('listAssetsResults')
            ? (json_['listAssetsResults'] as core.List)
                .map((value) => ListAssetsResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        readTime: json_.containsKey('readTime')
            ? json_['readTime'] as core.String
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
      );