copyWith method
- String? key,
- dynamic value,
- CFEventType? type,
Implementation
CFEvent copyWith({String? key, dynamic value, CFEventType? type}) {
return CFEvent(
key: key ?? this.key,
value: value ?? this.value,
type: type ?? this.type,
);
}