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