ListContainersOutput.fromJson constructor

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

Implementation

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