SystemParameterRule class
Define a system parameter rule mapping system parameter definitions to methods.
Constructors
-
SystemParameterRule({Input<
List< ? parameters, Input<SystemParameter> >String> ? selector}) -
Creates a new SystemParameterRule.
parametersDefine parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.selectorSelects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.const -
SystemParameterRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
→ Input<
List< ?SystemParameter> > -
Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
→ Input<
String> ? -
Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited