StoryAnimation.fromJson constructor

StoryAnimation.fromJson(
  1. Map json
)

Implementation

StoryAnimation.fromJson(Map<dynamic, dynamic> json) {
  type = json['type'] ?? '';
  milliseconds = json['milliseconds'] ?? 300;
  delaySecond = json['delaySecond'] ?? 0;
}