FixedResponseActionConfig class
Information about an action that returns a custom HTTP response.
Constructors
- FixedResponseActionConfig({required String statusCode, String? contentType, String? messageBody})
- FixedResponseActionConfig.fromXml(XmlElement elem)
-
factory
Properties
- contentType → String?
-
The content type.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageBody → String?
-
The message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → String
-
The HTTP response code (2XX, 4XX, or 5XX).
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