ListTaskDefinitionsResponse.fromJson constructor

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

Implementation

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