PTTranslation.fromJson constructor

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

Implementation

factory PTTranslation.fromJson(final Map<String, dynamic> json) {
  return PTTranslation(json['text'], json['language']);
}