ListTasksResponse.fromJson constructor

ListTasksResponse.fromJson(
  1. Map json_
)

Implementation

ListTasksResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_['nextPageToken'] as core.String?,
        tasks: (json_['tasks'] as core.List?)
            ?.map((value) =>
                Task.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        unreachable: (json_['unreachable'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );