ListTasksResponse.fromJson constructor

ListTasksResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListTasksResponse.fromJson(Map<String, dynamic> json) {
  return ListTasksResponse(
    nextToken: json['nextToken'] as String?,
    taskArns: (json['taskArns'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}