copyWith method
EpubNavigationPageTarget
copyWith({
- Maybe<
String> id = const Maybe.none(), - Maybe<
String?> value = const Maybe.none(), - Maybe<
EpubNavigationPageTargetType> type = const Maybe.none(), - Maybe<
String?> klass = const Maybe.none(), - Maybe<
String> playOrder = const Maybe.none(), - Maybe<
EpubNavigationContent> content = const Maybe.none(),
Implementation
EpubNavigationPageTarget copyWith(
{Maybe<String> id = const Maybe.none(),
Maybe<String?> value = const Maybe.none(),
Maybe<EpubNavigationPageTargetType> type = 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()}) =>
EpubNavigationPageTarget(
id.valueOr(this.id),
value.valueOr(this.value),
type.valueOr(this.type),
klass.valueOr(this.klass),
playOrder.valueOr(this.playOrder),
navigationLabels.valueOr(this.navigationLabels),
content.valueOr(this.content));