fromJson static method
Implementation
static Data fromJson(dynamic json) {
return Data(
accessToken: json['accessToken'],
user: json['user'] == null ? null : User.fromJson(json['user']),
);
}
static Data fromJson(dynamic json) {
return Data(
accessToken: json['accessToken'],
user: json['user'] == null ? null : User.fromJson(json['user']),
);
}