JsonResponse class

Constructors

JsonResponse({Object data = const {}, Map<String, HeaderValue> headers = const {}, int statusCode = HttpStatus.ok})

Properties

content String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, HeaderValue>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
write(HttpResponse response) → void

Operators

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