ListFargateProfilesResponse.fromJson constructor

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

Implementation

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