S3Action.fromJson constructor

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

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(),
  );
}