AssetEntity constructor
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,
- @Deprecated('Use `latLng` instead. ' 'This feature was deprecated after v3.8.0') double? latitude,
- @Deprecated('Use `latLng` instead. ' 'This feature was deprecated after v3.8.0') double? longitude,
- LatLng? latLng,
- String? mimeType,
- int subtype = 0,
Implementation
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,
@Deprecated(
'Use `latLng` instead. '
'This feature was deprecated after v3.8.0',
)
double? latitude,
@Deprecated(
'Use `latLng` instead. '
'This feature was deprecated after v3.8.0',
)
double? longitude,
LatLng? latLng,
this.mimeType,
this.subtype = 0,
}) : _latLng = latLng ??
LatLng.fromValues(latitude: latitude, longitude: longitude);