LinkPreviewTypeTheme.fromJson constructor
Parses a LinkPreviewTypeTheme from TDLib JSON.
Implementation
factory LinkPreviewTypeTheme.fromJson(Map<String, dynamic> json) =>
LinkPreviewTypeTheme(
documents: _readList<Document>(
json['documents'],
(e) => _readObject(e, Document.fromJson),
),
settings: _readOptional(json['settings'], ThemeSettings.fromJson),
);