toPublic method

Content toPublic()

Implementation

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