AuthorizationError constructor

AuthorizationError({
  1. ErrorReason? error,
  2. String? errorDescription,
  3. String? errorUri,
})

Implementation

factory AuthorizationError({
  ErrorReason? error,
  $core.String? errorDescription,
  $core.String? errorUri,
}) {
  final $result = create();
  if (error != null) {
    $result.error = error;
  }
  if (errorDescription != null) {
    $result.errorDescription = errorDescription;
  }
  if (errorUri != null) {
    $result.errorUri = errorUri;
  }
  return $result;
}