copyWith method
EpubNavigationPoint
copyWith({
- Maybe<
String> id = const Maybe.none(), - Maybe<
String?> klass = const Maybe.none(), - Maybe<
String> playOrder = const Maybe.none(), - Maybe<
EpubNavigationContent> content = const Maybe.none(),
Implementation
EpubNavigationPoint copyWith(
{Maybe<String> id = const Maybe.none(),
Maybe<String?> klass = const Maybe.none(),
Maybe<String> playOrder = const Maybe.none(),
Maybe<List<EpubNavigationLabel>> navigationLabels =
const Maybe.none(),
Maybe<EpubNavigationContent> content = const Maybe.none(),
Maybe<List<EpubNavigationPoint>> childNavigationPoints =
const Maybe.none()}) =>
EpubNavigationPoint(
id.valueOr(this.id),
klass.valueOr(this.klass),
playOrder.valueOr(this.playOrder),
navigationLabels.valueOr(this.navigationLabels),
content.valueOr(this.content),
childNavigationPoints.valueOr(this.childNavigationPoints));