AuthEvent constructor

AuthEvent({
  1. AuthEventKind? kind,
  2. String? provider,
  3. String? subjectId,
  4. String? scope,
  5. String? error,
})

Implementation

factory AuthEvent({
  AuthEventKind? kind,
  $core.String? provider,
  $core.String? subjectId,
  $core.String? scope,
  $core.String? error,
}) {
  final result = create();
  if (kind != null) result.kind = kind;
  if (provider != null) result.provider = provider;
  if (subjectId != null) result.subjectId = subjectId;
  if (scope != null) result.scope = scope;
  if (error != null) result.error = error;
  return result;
}