POSITIONAL_OR_KEYWORD property

Object? get POSITIONAL_OR_KEYWORD

Value may be supplied as either a keyword or positional argument (this is the standard binding behaviour for functions implemented in Python.)

Implementation

static Object? get POSITIONAL_OR_KEYWORD {
  final inspect inspectModule = inspect.import();
  final _ParameterClassDefinition parameterClass =
      _ParameterClassDefinition.from(inspectModule.getAttribute("Parameter"));
  return parameterClass.getAttribute("POSITIONAL_OR_KEYWORD");
}