MyImage.asset constructor

MyImage.asset({
  1. required String assetPath,
  2. @Default(ImageParams()) ImageParams params,
})

Implementation

factory MyImage.asset({required String assetPath, @Default(ImageParams()) ImageParams params}) = MyAssetImage;