AdminCollaborationRequest constructor

AdminCollaborationRequest({
  1. Organization? organization,
  2. ClientApp? connectApp,
  3. String? accessToken,
  4. Collaboration? collaboration,
  5. bool? acceptCollaboration,
  6. String? emailOfCollaborator,
  7. String? secret,
  8. bool? onlyConnect,
  9. bool? onlyOrganization,
  10. bool? onlyAccepted,
})

Implementation

factory AdminCollaborationRequest({
  Organization? organization,
  ClientApp? connectApp,
  $core.String? accessToken,
  Collaboration? collaboration,
  $core.bool? acceptCollaboration,
  $core.String? emailOfCollaborator,
  $core.String? secret,
  $core.bool? onlyConnect,
  $core.bool? onlyOrganization,
  $core.bool? onlyAccepted,
}) {
  final _result = create();
  if (organization != null) {
    _result.organization = organization;
  }
  if (connectApp != null) {
    _result.connectApp = connectApp;
  }
  if (accessToken != null) {
    _result.accessToken = accessToken;
  }
  if (collaboration != null) {
    _result.collaboration = collaboration;
  }
  if (acceptCollaboration != null) {
    _result.acceptCollaboration = acceptCollaboration;
  }
  if (emailOfCollaborator != null) {
    _result.emailOfCollaborator = emailOfCollaborator;
  }
  if (secret != null) {
    _result.secret = secret;
  }
  if (onlyConnect != null) {
    _result.onlyConnect = onlyConnect;
  }
  if (onlyOrganization != null) {
    _result.onlyOrganization = onlyOrganization;
  }
  if (onlyAccepted != null) {
    _result.onlyAccepted = onlyAccepted;
  }
  return _result;
}