notifyOrientationChange static method

Future<void> notifyOrientationChange(
  1. Orientation changedTo
)

Implementation

static Future<void> notifyOrientationChange(Orientation changedTo) async {
  var orientation = _getOrientationName(changedTo);
  _channel.invokeMethod<bool>(
      Constants.caseNotifyOrientationChange, orientation);
}