copyWith method

InfoOpenApi copyWith({
  1. String? title,
  2. String? description,
  3. String? termsOfService,
  4. String? version,
})

Implementation

InfoOpenApi copyWith({
  String? title,
  String? description,
  String? termsOfService,
  String? version,
}) => InfoOpenApi(
  title: title ?? this.title,
  description: description ?? this.description,
  termsOfService: termsOfService ?? this.termsOfService,
  version: version ?? this.version,
);