SwitchLanguageResponse class

This class represents the response entity for the Switch Language API in the Duolingo API.

Since there are currently no responses specific to this API, only the common HTTP response status and HTTP headers can be referenced.

Inheritance

Constructors

SwitchLanguageResponse.from({required int statusCode, required String reasonPhrase, required Map<String, String> headers})
Returns the new instance of SwitchLanguageResponse based on arguments.

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
The http headers
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status
The http status
finalinherited

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