WebResponse class

Constructors

WebResponse.new({String? body, WebRequestResult result = WebRequestResult.ok})
WebResponse.badRequest(String? body)
factory
WebResponse.systemError(String? body)
factory
WebResponse.unAuthorized(String? body)
factory

Properties

body String?
final
hashCode int
The hash code for this object.
no setterinherited
result WebRequestResult
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited