Converts this ChatMessage to a map along with a type hint for deserialization.
@override Map<String, dynamic> toMap() => { ...super.toMap(), 'content': content, 'type': 'system', };