DiffEntity.fromJson constructor
Parses a DiffEntity from TDLib JSON.
Implementation
factory DiffEntity.fromJson(Map<String, dynamic> json) => DiffEntity(
offset: _readInt(json['offset']),
length: _readInt(json['length']),
type: _readObject(json['type'], DiffEntityType.fromJson),
);