fromJson static method
Implementation
static ChatJoinRequest? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatJoinRequest(
userId: (json['user_id'] as int?) ?? 0,
date: (json['date'] as int?) ?? 0,
bio: (json['bio'] as String?) ?? '',
);
}