Content.fromJson constructor

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

Implementation

factory Content.fromJson(Map<String, dynamic> json) => Content(
      preview:
          json['preview'] == null ? null : Detail.fromJson(json['preview']),
      detail: json['detail'] == null ? null : Detail.fromJson(json['detail']),
    );