maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult repoRef(
    1. UGetSubjectStatusSubjectRepoRef value
    )?,
  2. TResult strongRef(
    1. UGetSubjectStatusSubjectStrongRef value
    )?,
  3. TResult repoBlobRef(
    1. UGetSubjectStatusSubjectRepoBlobRef value
    )?,
  4. TResult unknown(
    1. UGetSubjectStatusSubjectUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UGetSubjectStatusSubjectRepoRef value)? repoRef,
  TResult Function(UGetSubjectStatusSubjectStrongRef value)? strongRef,
  TResult Function(UGetSubjectStatusSubjectRepoBlobRef value)? repoBlobRef,
  TResult Function(UGetSubjectStatusSubjectUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;