PageBlockAnimation.fromJson constructor

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

Parse from a json

Implementation

factory PageBlockAnimation.fromJson(Map<String, dynamic> json) =>
    PageBlockAnimation(
      animation: json['animation'] == null
          ? null
          : Animation.fromJson(json['animation']),
      caption: PageBlockCaption.fromJson(json['caption']),
      needAutoplay: json['need_autoplay'],
    );