CommunityUser.fromJson constructor

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

Implementation

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