maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult repoRef(
    1. UModEventViewSubjectRepoRef value
    )?,
  2. TResult strongRef(
    1. UModEventViewSubjectStrongRef value
    )?,
  3. TResult messageRef(
    1. UModEventViewSubjectMessageRef value
    )?,
  4. TResult unknown(
    1. UModEventViewSubjectUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UModEventViewSubjectRepoRef value)? repoRef,
  TResult Function(UModEventViewSubjectStrongRef value)? strongRef,
  TResult Function(UModEventViewSubjectMessageRef value)? messageRef,
  TResult Function(UModEventViewSubjectUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;