getImageOptions static method
Implementation
static Future<ImageOptions> getImageOptions({File? file}) async {
assert(file != null);
final result =
await _channel.invokeMethod('getImageOptions', {'path': file?.path});
return ImageOptions(
width: result['width'],
height: result['height'],
);
}