ChatEventMemberPromoted.fromJson constructor
Parse from a json
Implementation
factory ChatEventMemberPromoted.fromJson(Map<String, dynamic> json) => ChatEventMemberPromoted(
userId: json['user_id'],
oldStatus: ChatMemberStatus.fromJson(json['old_status']),
newStatus: ChatMemberStatus.fromJson(json['new_status']),
);