getSize method

double getSize(
  1. bool isSpeaker
)

Implementation

double getSize(bool isSpeaker) {
  return isSpeaker ? 90 : 50;
}