copyWith method

EpubMetadataDate copyWith({
  1. Maybe<String> date = const Maybe.none(),
  2. Maybe<String?> event = const Maybe.none(),
})

Implementation

EpubMetadataDate copyWith(
        {Maybe<String> date = const Maybe.none(),
        Maybe<String?> event = const Maybe.none()}) =>
    EpubMetadataDate(date.valueOr(this.date), event.valueOr(this.event));