copyWith method

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

Implementation

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