copyWith method
EpubByteContentFileRef
copyWith({
- Maybe<
EpubBookRef> epubBookRef = const Maybe.none(), - Maybe<
String> fileName = const Maybe.none(), - Maybe<
EpubContentType> contentType = const Maybe.none(), - Maybe<
String> contentMimeType = const Maybe.none(),
Implementation
EpubByteContentFileRef copyWith(
{Maybe<EpubBookRef> epubBookRef = const Maybe.none(),
Maybe<String> fileName = const Maybe.none(),
Maybe<EpubContentType> contentType = const Maybe.none(),
Maybe<String> contentMimeType = const Maybe.none()}) =>
EpubByteContentFileRef(
epubBookRef.valueOr(this.epubBookRef),
fileName.valueOr(this.fileName),
contentType.valueOr(this.contentType),
contentMimeType.valueOr(this.contentMimeType));