HttpResponse class

The class that represents the HTTP reseponse from Line Notify API.

Constructors

HttpResponse.from({required int statusCode, required Map<String, dynamic> body})
Returns the new instance of HttpResponse based on statusCode and body.

Properties

body Map<String, dynamic>
The body
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The status code
final

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