VersionInfoResponse.from constructor
VersionInfoResponse.from({
- required int statusCode,
- required String reasonPhrase,
- required Map<
String, String> headers, - required String ttsCdnUrl,
- required int ageRestrictionLimit,
- required String country,
- required String apiBaseUrl,
- required String speechHost,
- required String ttsBaseUrl,
- required String dictBaseUrl,
- required TtsVoiceConfiguration ttsVoiceConfiguration,
- required List<
SupportedDirection> supportedDirections,
Returns the new instance of VersionInfoResponse based on arguments.
Implementation
VersionInfoResponse.from({
required int statusCode,
required String reasonPhrase,
required Map<String, String> headers,
required this.ttsCdnUrl,
required this.ageRestrictionLimit,
required this.country,
required this.apiBaseUrl,
required this.speechHost,
required this.ttsBaseUrl,
required this.dictBaseUrl,
required this.ttsVoiceConfiguration,
required this.supportedDirections,
}) : super.from(
status: Status.from(
code: statusCode,
reasonPhrase: reasonPhrase,
),
headers: headers,
);