copyWith method
EpubSchema
copyWith({
- Maybe<
EpubPackage> package = const Maybe.none(), - Maybe<
String> contentDirectoryPath = const Maybe.none(),
Implementation
EpubSchema copyWith(
{Maybe<EpubPackage> package = const Maybe.none(),
Maybe<EpubNavigation?> navigation = const Maybe.none(),
Maybe<String> contentDirectoryPath = const Maybe.none()}) =>
EpubSchema(
package.valueOr(this.package),
navigation.valueOr(this.navigation),
contentDirectoryPath.valueOr(this.contentDirectoryPath));