mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;