ListFindingsResponse.fromJson constructor

ListFindingsResponse.fromJson(
  1. Map json_
)

Implementation

ListFindingsResponse.fromJson(core.Map json_)
    : this(
        listFindingsResults: json_.containsKey('listFindingsResults')
            ? (json_['listFindingsResults'] as core.List)
                .map((value) => ListFindingsResult.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,
      );