map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult knownValue(
    1. UDeclarationAllowIncomingKnownValue value
    ),
  2. required TResult unknownValue(
    1. UDeclarationAllowIncomingUnknownValue value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(UDeclarationAllowIncomingKnownValue value)
      knownValue,
  required TResult Function(UDeclarationAllowIncomingUnknownValue value)
      unknownValue,
}) =>
    throw _privateConstructorUsedError;