AssetMetadata constructor

const AssetMetadata({
  1. required String key,
  2. required double? targetDevicePixelRatio,
  3. required bool main,
})

Creates an object containing information about an asset.

Implementation

const AssetMetadata({
  required this.key,
  required this.targetDevicePixelRatio,
  required this.main,
});