copyWith method

EpubMetadataContributor copyWith({
  1. Maybe<String> contributor = const Maybe.none(),
  2. Maybe<String?> fileAs = const Maybe.none(),
  3. Maybe<String?> role = const Maybe.none(),
})

Implementation

EpubMetadataContributor copyWith(
        {Maybe<String> contributor = const Maybe.none(),
        Maybe<String?> fileAs = const Maybe.none(),
        Maybe<String?> role = const Maybe.none()}) =>
    EpubMetadataContributor(contributor.valueOr(this.contributor),
        fileAs.valueOr(this.fileAs), role.valueOr(this.role));