resolveImage method

Future<void> resolveImage()

Implementation

Future<void> resolveImage() async {
  if (imageNeedsResolving && !hasImage) {
    _resolutionState = _NowPlayingImageResolutionState.resolving;
    this.image = await NowPlaying.instance.resolver?.resolve(this);
    _resolutionState = _NowPlayingImageResolutionState.resolved;
  }
}