copyWith method
EpubContentRef
copyWith({
- Maybe<
Map< html = const Maybe.none(),String, EpubTextContentFileRef> > - Maybe<
Map< css = const Maybe.none(),String, EpubTextContentFileRef> > - Maybe<
Map< images = const Maybe.none(),String, EpubByteContentFileRef> > - Maybe<
Map< fonts = const Maybe.none(),String, EpubByteContentFileRef> >
Implementation
EpubContentRef copyWith(
{Maybe<Map<String, EpubTextContentFileRef>> html = const Maybe.none(),
Maybe<Map<String, EpubTextContentFileRef>> css = const Maybe.none(),
Maybe<Map<String, EpubByteContentFileRef>> images =
const Maybe.none(),
Maybe<Map<String, EpubByteContentFileRef>> fonts =
const Maybe.none()}) =>
EpubContentRef(html.valueOr(this.html), css.valueOr(this.css),
images.valueOr(this.images), fonts.valueOr(this.fonts));