DrishyaEntity class

Constructors

DrishyaEntity({required AssetEntity entity, required Uint8List thumbBytes, required File file})

Properties

entity AssetEntity
Core sssets object which hold complete details of the asset
final
file File
Field where asset is stored
final
hashCode int
The hash code for this object.
no setteroverride
id String
in android is database _id column
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The Size for the asset.
no setter
thumbBytes Uint8List
Thumb bytes of image and video. Dont use this for other asset types.
final
type AssetType
the asset type
no setter
typeInt int
Asset type int value.
no setter
videoDuration Duration
if not video, duration is 0
no setter

Methods

copyWith({Uint8List? thumbBytes, File? file}) DrishyaEntity
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override