StoryRepostInfo.fromJson constructor

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

Parses a StoryRepostInfo from TDLib JSON.

Implementation

factory StoryRepostInfo.fromJson(Map<String, dynamic> json) =>
    StoryRepostInfo(
      origin: _readObject(json['origin'], StoryOrigin.fromJson),
      isContentModified: _readBool(json['is_content_modified']),
    );