EdgeMediaToCaption.fromJson constructor

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

List of captions from json

Implementation

factory EdgeMediaToCaption.fromJson(Map<String, dynamic> json) =>
    EdgeMediaToCaption(
      edges: json["edges"] == null
          ? null
          : List<EdgeMediaToCaptionEdge>.from(
              json["edges"].map((x) => EdgeMediaToCaptionEdge.fromJson(x))),
    );