fromJson static method

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

Deserializes the result from JSON.

Implementation

static GetTextResult fromJson(Map<String, dynamic> json) {
  return GetTextResult(json['text'] as String);
}