RemoteTranslationResponse.fromJson constructor

RemoteTranslationResponse.fromJson(
  1. Map<String, dynamic> json
)

Creates a new RemoteTranslationResponse from a JSON object.

The json parameter is a map of key-value pairs representing the translation response.

Implementation

factory RemoteTranslationResponse.fromJson(Map<String, dynamic> json) => _$TranslationResponseFromJson(json);