SwitchLanguageResponse.from constructor
SwitchLanguageResponse.from({})
Returns the new instance of SwitchLanguageResponse based on arguments.
Implementation
SwitchLanguageResponse.from({
required int statusCode,
required String reasonPhrase,
required Map<String, String> headers,
}) : super.from(
status: Status.from(
code: statusCode,
reasonPhrase: reasonPhrase,
),
headers: headers,
);