copyWith method

CFEvent copyWith({
  1. String? key,
  2. dynamic value,
  3. 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,
  );
}