UserInfo.fromJson constructor

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

Implementation

factory UserInfo.fromJson(Map<String, dynamic> json) {
  return UserInfo(json['userId'], json['userName'], json['avatarUrl']);
}