copyWith method
ConstEpubBookRefData
copyWith({
- Maybe<
Archive> epubArchive = const Maybe.none(), - Maybe<
String?> title = const Maybe.none(), - Maybe<
String> author = const Maybe.none(), - Maybe<
List< authorList = const Maybe.none(),String> > - Maybe<
EpubSchema> schema = const Maybe.none(),
Implementation
ConstEpubBookRefData copyWith(
{Maybe<Archive> epubArchive = const Maybe.none(),
Maybe<String?> title = const Maybe.none(),
Maybe<String> author = const Maybe.none(),
Maybe<List<String>> authorList = const Maybe.none(),
Maybe<EpubSchema> schema = const Maybe.none()}) =>
ConstEpubBookRefData(
epubArchive.valueOr(this.epubArchive),
title.valueOr(this.title),
author.valueOr(this.author),
authorList.valueOr(this.authorList),
schema.valueOr(this.schema));