# get method

Image get(

1. String? key

)

Gets an item of the ImageDict object.

param key Unique key of the Image item to get. return Image item to get. throws FaceException An error has occurred during Face Library execution.

## Implementation

    Image get(String? key) {
      Pointer<Char>? pKey = key?.toNativeUtf8().cast<Char>();
      Image imageItem = Image();
      try {
        var err = faceSDK.id3FaceImageDict_Get(_pHandle.value, pKey ?? nullptr, imageItem.handle);
        if (err != FaceError.success.value) {
          imageItem.dispose();
          throw FaceException(err);
        }
        return imageItem;
      } finally {
        if (pKey != null) {
          calloc.free(pKey);
        }
      }
    }