ConnectPublicResponse constructor

ConnectPublicResponse({
  1. App? app,
  2. String? email,
  3. String? redirectAddr,
  4. Error? error,
  5. Iterable<String>? scopes,
  6. Iterable<App>? apps,
})

Implementation

factory ConnectPublicResponse({
  App? app,
  $core.String? email,
  $core.String? redirectAddr,
  Error? error,
  $core.Iterable<$core.String>? scopes,
  $core.Iterable<App>? apps,
}) {
  final _result = create();
  if (app != null) {
    _result.app = app;
  }
  if (email != null) {
    _result.email = email;
  }
  if (redirectAddr != null) {
    _result.redirectAddr = redirectAddr;
  }
  if (error != null) {
    _result.error = error;
  }
  if (scopes != null) {
    _result.scopes.addAll(scopes);
  }
  if (apps != null) {
    _result.apps.addAll(apps);
  }
  return _result;
}