findKeyForImage method

String? findKeyForImage(
  1. Image image
)

Implementation

String? findKeyForImage(Image image) {
  return _assets.keys.firstWhere(
    (k) => _assets[k]?.image?.isCloneOf(image) ?? false,
  );
}