BucketPolicy.fromJson constructor

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

Implementation

factory BucketPolicy.fromJson(Map<String, dynamic> json) {
  return BucketPolicy(
    allowsPublicReadAccess: json['allowsPublicReadAccess'] as bool?,
    allowsPublicWriteAccess: json['allowsPublicWriteAccess'] as bool?,
  );
}