TextEntityTypePreCode.fromJson constructor

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

Parses a TextEntityTypePreCode from TDLib JSON.

Implementation

factory TextEntityTypePreCode.fromJson(Map<String, dynamic> json) =>
    TextEntityTypePreCode(
      language: _readString(json['language']),
    );