methodChannel property
The communication channel with the native platform. The channel name must be consistent with the Android/iOS plugin. 与原生通信的通道,通道名需与 Android/iOS 插件保持一致。
Implementation
@visibleForTesting
final methodChannel = const MethodChannel('flutter_auto_orientation');