getCurrent method
Returns information about the current state of the file presentation.
Implementation
Future<FilePresentation> getCurrent() async {
var result =
await _methodChannel.invokeMethod<Map<Object?, Object?>>("getCurrent");
return Future.value(
result != null ? FilePresentationMapper.fromMap(result) : null);
}