makeImageRefsSnapshot static method
Implementation
static Future<ImageRefPoolSnapshot?> makeImageRefsSnapshot(
MethodChannel channel) async {
try {
final result = await channel.invokeMethod('makeSnapshot');
return ImageRefPoolSnapshot.fromJson(jsonDecode(result));
} catch (e) {
Logger.root.severe(e);
rethrow;
}
}