toJson method

Map<String, dynamic> toJson()

Implementation

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