User.fromJson constructor
Implementation
User.fromJson(Map<String, dynamic> json) {
id = json['id'];
createdAt = json['createdAt'];
email = json['email'];
passwordChangedAt = json['passwordChangedAt'];
isGuest = json['isGuest'];
isTest = json['isTest'];
type = json['type'];
detail = json['detail'] != null ? Detail.fromJson(json['detail']) : null;
}