ListS3ResourcesResult.fromJson constructor

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

Implementation

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