copyWith method

Note copyWith({
  1. String? note,
  2. PropertyMetadata? metadata,
})

Implementation

Note copyWith({String? note, PropertyMetadata? metadata}) {
  return Note(note: note ?? this.note, metadata: metadata ?? this.metadata);
}