CommunityUser.fromJson constructor

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

Implementation

factory CommunityUser.fromJson(Map<String, dynamic> json) {
  return CommunityUser(
    id: readInt(json['id']),
    name: json['name']?.toString() ?? '',
    email: json['email']?.toString() ?? '',
  );
}