copyWith method

GetPartitionsModel copyWith({
  1. bool? ok,
  2. List<PartitionsModel>? partitions,
})

Implementation

GetPartitionsModel copyWith({
  bool? ok,
  List<PartitionsModel>? partitions,
}) {
  return GetPartitionsModel(
    ok: ok ?? this.ok,
    partitions: partitions ?? this.partitions,
  );
}