copyWith method
VideoMedia
copyWith(
{ - String? resourceId,
- String? mime,
- Path? path,
- bool? synced,
- int? createdAt,
- int? updatedAt,
- String? blurhash,
- int? width,
- int? height,
- int? duration,
- int? orientation,
- int? size,
})
Implementation
VideoMedia copyWith({
String? resourceId,
String? mime,
Path? path,
bool? synced,
int? createdAt,
int? updatedAt,
String? blurhash,
int? width,
int? height,
int? duration,
int? orientation,
int? size,
}) {
return VideoMedia(
resourceId: resourceId ?? this.resourceId,
mime: mime ?? this.mime,
path: path ?? this.path,
synced: synced ?? this.synced,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
blurhash: blurhash ?? this.blurhash,
width: width ?? this.width,
height: height ?? this.height,
duration: duration ?? this.duration,
orientation: orientation ?? this.orientation,
size: size ?? this.size,
);
}