PageBlockAudio.fromJson constructor

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

Parse from a json

Implementation

factory PageBlockAudio.fromJson(Map<String, dynamic> json) => PageBlockAudio(
  audio: json['audio'] == null ? null : Audio.fromJson(json['audio']),
  caption: PageBlockCaption.fromJson(json['caption']),
);