copyWith method

CalloutMeta copyWith({
  1. String? type,
  2. String? content,
  3. String? position,
})

Creates a copy with updated values.

Implementation

CalloutMeta copyWith({
  String? type,
  String? content,
  String? position,
}) {
  return CalloutMeta(
    type: type ?? this.type,
    content: content ?? this.content,
    position: position ?? this.position,
  );
}