toPublic method
Implementation
public_types.Content toPublic(){
return public_types.Content(role: role, parts: parts!.map((e) => e.toPublic()).toList());
}
public_types.Content toPublic(){
return public_types.Content(role: role, parts: parts!.map((e) => e.toPublic()).toList());
}