setPlatformImageHostApi function
Sets the PlatformImagesApi
instance used to implement the static methods
of IosPlatformImages.
This exists only for unit tests.
Implementation
@visibleForTesting
void setPlatformImageHostApi(PlatformImagesApi api) {
_hostApi = api;
}