S3Action.fromJson constructor
Implementation
factory S3Action.fromJson(Map<String, dynamic> json) {
return S3Action(
bucketName: json['bucketName'] as String,
key: json['key'] as String,
roleArn: json['roleArn'] as String,
cannedAcl: (json['cannedAcl'] as String?)?.toCannedAccessControlList(),
);
}