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