CustomErrorRuleResponse class
A custom error rule.
Constructors
-
CustomErrorRuleResponse({required Input<
bool> isErrorType, required Input<String> selector}) -
Creates a new CustomErrorRuleResponse.
isErrorTypeMark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.selectorSelects messages to which this rule applies. Refer to selector for syntax details.const -
CustomErrorRuleResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isErrorType
→ Input<
bool> -
Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
→ Input<
String> -
Selects messages to which this rule applies. 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