copyWith method
DomainRecord
copyWith(
{ - String? id,
- String? type,
- String? name,
- String? data,
- int? priority,
- int? port,
- int? ttl,
- int? weight,
- int? flags,
- int? tag,
})
Implementation
DomainRecord copyWith({
String? id,
String? type,
String? name,
String? data,
int? priority,
int? port,
int? ttl,
int? weight,
int? flags,
int? tag,
}) {
return DomainRecord(
id: id ?? this.id,
type: type ?? this.type,
name: name ?? this.name,
data: data ?? this.data,
priority: priority ?? this.priority,
port: port ?? this.port,
ttl: ttl ?? this.ttl,
weight: weight ?? this.weight,
flags: flags ?? this.flags,
tag: tag ?? this.tag,
);
}