toJson method
Implementation
Map<String, dynamic> toJson() {
final accessControl = this.accessControl;
final encryption = this.encryption;
return {
if (accessControl != null) 'accessControl': accessControl,
if (encryption != null) 'encryption': encryption,
};
}