copyWith method

ServicesDto copyWith({
  1. Environment? environment,
  2. List<ServiceDto>? services,
})

Implementation

ServicesDto copyWith({
  Environment? environment,
  List<ServiceDto>? services,
}) {
  return ServicesDto(
    environment: environment ?? this.environment,
    services: services ?? this.services,
  );
}