copyWith method
Creates a copy of this VCardTelephone
but with the given fields replaced with the new values.
Implementation
VCardTelephone copyWith({
bool? preferred,
List<VCardIdentifier>? types,
String? value,
List<String>? ext,
}) =>
VCardTelephone(
preferred: preferred ?? this.preferred,
types: types ?? this.types,
value: value ?? this.value,
ext: ext ?? this.ext,
);