mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? profileViewBasic(
    1. UModerationSubjectProfileProfileViewBasic value
    )?,
  2. TResult? profileView(
    1. UModerationSubjectProfileProfileView value
    )?,
  3. TResult? profileViewDetailed(
    1. UModerationSubjectProfileProfileViewDetailed value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UModerationSubjectProfileProfileViewBasic value)?
      profileViewBasic,
  TResult? Function(UModerationSubjectProfileProfileView value)? profileView,
  TResult? Function(UModerationSubjectProfileProfileViewDetailed value)?
      profileViewDetailed,
}) =>
    throw _privateConstructorUsedError;