orientationType method

OrientationType orientationType()

Implementation

OrientationType orientationType() {
  if (screenHeight / screenWidth > 1) {
    return OrientationType.portrait();
  }
  return OrientationType.landscape();
}