copyWith method
Implementation
SecurityScheme copyWith(
{int? defaultSecurityLevelId,
String? description,
int? id,
List<SecurityLevel>? levels,
String? name,
String? self}) {
return SecurityScheme(
defaultSecurityLevelId:
defaultSecurityLevelId ?? this.defaultSecurityLevelId,
description: description ?? this.description,
id: id ?? this.id,
levels: levels ?? this.levels,
name: name ?? this.name,
self: self ?? this.self,
);
}