Metadata constructor

Metadata({
  1. bool? isOpen,
  2. String? about,
  3. String? ownerId,
  4. Iterable<String>? allowedEmails,
})

Implementation

factory Metadata({
  $core.bool? isOpen,
  $core.String? about,
  $core.String? ownerId,
  $core.Iterable<$core.String>? allowedEmails,
}) {
  final _result = create();
  if (isOpen != null) {
    _result.isOpen = isOpen;
  }
  if (about != null) {
    _result.about = about;
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (allowedEmails != null) {
    _result.allowedEmails.addAll(allowedEmails);
  }
  return _result;
}