AssetEntity constructor

const AssetEntity({
  1. required String id,
  2. required int typeInt,
  3. required int width,
  4. required int height,
  5. int duration = 0,
  6. int orientation = 0,
  7. bool isFavorite = false,
  8. String? title,
  9. int? createDateSecond,
  10. int? modifiedDateSecond,
  11. String? relativePath,
  12. double? latitude,
  13. double? longitude,
  14. String? mimeType,
  15. int subtype = 0,
})

Implementation

const AssetEntity({
  required this.id,
  required this.typeInt,
  required this.width,
  required this.height,
  this.duration = 0,
  this.orientation = 0,
  this.isFavorite = false,
  this.title,
  this.createDateSecond,
  this.modifiedDateSecond,
  this.relativePath,
  double? latitude,
  double? longitude,
  this.mimeType,
  this.subtype = 0,
})  : _latitude = latitude,
      _longitude = longitude;