UserInfo.fromJson constructor

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

Implementation

factory UserInfo.fromJson(Map<String, dynamic> json) {
  return UserInfo(
    date: json['date'] as String?,
    email: json['email'] as String?,
    name: json['name'] as String?,
  );
}