resolve static method
For advanced use only; obtaining ContentResolver that manages content buffer. the instance must be released by calling dispose method.
Implementation
static Future<ContentResolver> resolve(String uri) async {
try {
final result = await _channel.invokeMethod('getContent', uri);
return ContentResolver._(
result['address'] as int,
result['length'] as int,
result['mimeType'] as String?,
result['fileName'] as String?);
} on Exception {
throw Exception('Handling URI "$uri" failed.');
}
}