Converts this ChatMessage to a map along with a type hint for deserialization.
Map<String, dynamic> toMap() => {};