AdminCollaborationResponse constructor

AdminCollaborationResponse({
  1. Collaboration? collaboration,
  2. Iterable<Collaboration>? collaborations,
  3. String? secret,
})

Implementation

factory AdminCollaborationResponse({
  Collaboration? collaboration,
  $core.Iterable<Collaboration>? collaborations,
  $core.String? secret,
}) {
  final _result = create();
  if (collaboration != null) {
    _result.collaboration = collaboration;
  }
  if (collaborations != null) {
    _result.collaborations.addAll(collaborations);
  }
  if (secret != null) {
    _result.secret = secret;
  }
  return _result;
}