Content.fromJson constructor
Implementation
Content.fromJson(Map<String, dynamic> json) {
if (json['parts'] != null) {
parts = <Parts>[];
json['parts'].forEach((v) {
parts!.add(Parts.fromJson(v));
});
}
role = json['role'];
}