PushMessageContentAnimation.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentAnimation.fromJson(Map<String, dynamic> json) => PushMessageContentAnimation(
  animation: json['animation'] == null ? null : Animation.fromJson(json['animation']),
  caption: json['caption'],
  isPinned: json['is_pinned'],
);