getFoldPosture method
Implementation
@override
Future<DuoFoldPosture> getFoldPosture() async {
final value = await _invoke('getFoldPosture');
if (value != null && value is! String) {
throw PlatformException(
code: 'invalid_response',
message: 'Expected posture string.',
);
}
return fromNativePosture(value as String?);
}