copyWith method

ParkingModel copyWith({
  1. bool? isActive,
})

Implementation

ParkingModel copyWith({bool? isActive}) {
  return ParkingModel(
    isActive: isActive ?? this.isActive,
  );
}