BlockPublicAccess.fromJson constructor

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

Implementation

factory BlockPublicAccess.fromJson(Map<String, dynamic> json) {
  return BlockPublicAccess(
    blockPublicAcls: json['blockPublicAcls'] as bool?,
    blockPublicPolicy: json['blockPublicPolicy'] as bool?,
    ignorePublicAcls: json['ignorePublicAcls'] as bool?,
    restrictPublicBuckets: json['restrictPublicBuckets'] as bool?,
  );
}