mapOrNull<TResult extends Object?> method

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

Implementation

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