ListTransferRunsResponse.fromJson constructor

ListTransferRunsResponse.fromJson(
  1. Map json_
)

Implementation

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