setForcedOrientation method
Implementation
@override
Future<bool> setForcedOrientation(EyedidDeviceOrientation orientation) async {
final methodName = EyedidMethodName.setForcedOrientation.name;
Map<String, dynamic> argumentMap = {
EyedidArgumentKey.orientation.name: orientation.name
};
final isResult =
await methodChannel.invokeMethod<bool>(methodName, argumentMap);
return isResult ?? false;
}