CustomRule class
Describes a custom rewrite or redirect rule.
Constructors
- CustomRule({required String source, required String target, String? condition, String? status})
-
CustomRule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- condition → String?
-
The condition for a URL rewrite or redirect rule, such as a country code.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The source pattern for a URL rewrite or redirect rule.
final
- status → String?
-
The status code for a URL rewrite or redirect rule.
final
- target → String
-
The target pattern for a URL rewrite or redirect rule.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited