copyWith method

SessionMark copyWith({
  1. String? key,
  2. String? description,
  3. bool? completed,
  4. SessionMarkType? type,
})

Implementation

SessionMark copyWith({
  String? key,
  String? description,
  bool? completed,
  SessionMarkType? type,
}) =>
    SessionMark(
      key: key ?? this.key,
      description: description ?? this.description,
      completed: completed ?? this.completed,
      type: type ?? this.type,
    );