map<TResult extends Object?> method

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

Implementation

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