copyWith method

EpubGuideReference copyWith({
  1. Maybe<String> type = const Maybe.none(),
  2. Maybe<String?> title = const Maybe.none(),
  3. Maybe<String> href = const Maybe.none(),
})

Implementation

EpubGuideReference copyWith(
        {Maybe<String> type = const Maybe.none(),
        Maybe<String?> title = const Maybe.none(),
        Maybe<String> href = const Maybe.none()}) =>
    EpubGuideReference(type.valueOr(this.type), title.valueOr(this.title),
        href.valueOr(this.href));