isOrientationId function

bool isOrientationId(
  1. String id
)

Whether id is an orientation this build accepts.

Implementation

bool isOrientationId(String id) => orientationById(id) != null;