MessageAnimation.fromJson constructor
Parse from a json
Implementation
factory MessageAnimation.fromJson(Map<String, dynamic> json) => MessageAnimation(
animation: Animation.fromJson(json['animation']),
caption: FormattedText.fromJson(json['caption']),
isSecret: json['is_secret'],
);