Data.fromJson constructor

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

from json

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
      user: User.fromJson(json["user"]),
    );