POSITIONAL_ONLY property
Object?
get
POSITIONAL_ONLY
Value must be supplied as a positional argument. Positional only parameters are those which appear before a / entry (if present) in a Python function definition.
Implementation
static Object? get POSITIONAL_ONLY {
final inspect inspectModule = inspect.import();
final _ParameterClassDefinition parameterClass =
_ParameterClassDefinition.from(inspectModule.getAttribute("Parameter"));
return parameterClass.getAttribute("POSITIONAL_ONLY");
}