copyWith method

SwaggerInfo copyWith({
  1. String? title,
  2. Contact? contact,
  3. String? version,
})

Implementation

SwaggerInfo copyWith({
  String? title,
  Contact? contact,
  String? version,
}) =>
    SwaggerInfo(
      title: title ?? this.title,
      contact: contact ?? this.contact,
      version: version ?? this.version,
    );