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