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