TranslationRequest.fromJson constructor

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

Creates a new TranslationRequest from a JSON object.

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

Implementation

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