mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? knownValue(
    1. UViewerConfigRoleKnownValue value
    )?,
  2. TResult? unknownValue(
    1. UViewerConfigRoleUnknownValue value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UViewerConfigRoleKnownValue value)? knownValue,
  TResult? Function(UViewerConfigRoleUnknownValue value)? unknownValue,
}) =>
    throw _privateConstructorUsedError;