Convert the Part content to json format.
@override Object toJson() { final superJson = super.toJson() as Map<String, Object?>; return <String, Object?>{...superJson, ...data}; }