copyWith method

DocumentMedia copyWith({
  1. String? resourceId,
  2. Path? path,
  3. String? mime,
  4. bool? synced,
  5. int? createdAt,
  6. int? updatedAt,
  7. int? size,
})

Implementation

DocumentMedia copyWith({
  String? resourceId,
  Path? path,
  String? mime,
  bool? synced,
  int? createdAt,
  int? updatedAt,
  int? size,
}) {
  return DocumentMedia(
    resourceId: resourceId ?? this.resourceId,
    mime: mime ?? this.mime,
    path: path ?? this.path,
    synced: synced ?? this.synced,
    createdAt: createdAt ?? this.createdAt,
    updatedAt: updatedAt ?? this.updatedAt,
    size: size ?? this.size,
  );
}