BucketLevelPermissions.fromJson constructor
BucketLevelPermissions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BucketLevelPermissions.fromJson(Map<String, dynamic> json) {
return BucketLevelPermissions(
accessControlList: json['accessControlList'] != null
? AccessControlList.fromJson(
json['accessControlList'] as Map<String, dynamic>)
: null,
blockPublicAccess: json['blockPublicAccess'] != null
? BlockPublicAccess.fromJson(
json['blockPublicAccess'] as Map<String, dynamic>)
: null,
bucketPolicy: json['bucketPolicy'] != null
? BucketPolicy.fromJson(json['bucketPolicy'] as Map<String, dynamic>)
: null,
);
}