User.fromJson constructor

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

from json

Implementation

factory User.fromJson(Map<String, dynamic> json) => User(
      edgeOwnerToTimelineMedia: EdgeOwnerToTimelineMedia.fromJson(
          json["edge_owner_to_timeline_media"]),
    );