Converts an image message to the map representation, encodable to JSON.
@override Map<String, dynamic> toJson() => _$ImageMessageToJson(this);