factory ChatDocument.fromJson(Map<String, dynamic> json) { return ChatDocument( sourceUrl: json['sourceUrl'] ?? '', id: json['id'] ?? '', ); }