Converts a partial image message to the map representation, encodable to JSON.
Map<String, dynamic> toJson() => _$PartialImageToJson(this);