AssetModel constructor

AssetModel({
  1. required String id,
  2. required XFile file,
  3. required AssetType type,
})

Asset model

Implementation

AssetModel({
  required this.id,
  required this.file,
  required this.type,
});