toJson method

Map<String, dynamic> toJson()

Converts the FirebaseChatDocument to JSON format.

Implementation

Map<String, dynamic> toJson() => {
      'title': title,
      'image_url': imageUrl,
      'personal': personal,
      'last_used': lastUsed,
      'can_be_deleted': canBeDeleted,
      'users': users,
    };