copyWith method
Implementation
PartitionsModel copyWith({
String? drive,
String? name,
}) {
return PartitionsModel(
drive: drive ?? this.drive,
name: name ?? this.name,
);
}
PartitionsModel copyWith({
String? drive,
String? name,
}) {
return PartitionsModel(
drive: drive ?? this.drive,
name: name ?? this.name,
);
}