info property

Map<String, Object?> get info

Information of the image.

Implementation

Map<String, Object?> get info => <String, Object?>{
      'id': id,
      'loaded': isLoaded,
      if (isLoaded) 'width': width,
      if (isLoaded) 'height': height,
      if (isLoaded) 'aspectRatio': aspectRatio,
      'src': src,
    };