AssetEntity constructor
const
AssetEntity({
- required String id,
- required int typeInt,
- required int width,
- required int height,
- int duration = 0,
- int orientation = 0,
- bool isFavorite = false,
- String? title,
- int? createDateSecond,
- int? modifiedDateSecond,
- String? relativePath,
- double? latitude,
- double? longitude,
- String? mimeType,
- 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;