maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult repoView(
    1. UModEventViewDetailSubjectRepoView value
    )?,
  2. TResult repoViewNotFound(
    1. UModEventViewDetailSubjectRepoViewNotFound value
    )?,
  3. TResult recordView(
    1. UModEventViewDetailSubjectRecordView value
    )?,
  4. TResult recordViewNotFound(
    1. UModEventViewDetailSubjectRecordViewNotFound value
    )?,
  5. TResult unknown(
    1. UModEventViewDetailSubjectUnknown value
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UModEventViewDetailSubjectRepoView value)? repoView,
  TResult Function(UModEventViewDetailSubjectRepoViewNotFound value)?
      repoViewNotFound,
  TResult Function(UModEventViewDetailSubjectRecordView value)? recordView,
  TResult Function(UModEventViewDetailSubjectRecordViewNotFound value)?
      recordViewNotFound,
  TResult Function(UModEventViewDetailSubjectUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;