copyWith method

EpubNavigationHeadMeta copyWith({
  1. Maybe<String> name = const Maybe.none(),
  2. Maybe<String> content = const Maybe.none(),
  3. Maybe<String?> schema = const Maybe.none(),
})

Implementation

EpubNavigationHeadMeta copyWith(
        {Maybe<String> name = const Maybe.none(),
        Maybe<String> content = const Maybe.none(),
        Maybe<String?> schema = const Maybe.none()}) =>
    EpubNavigationHeadMeta(name.valueOr(this.name),
        content.valueOr(this.content), schema.valueOr(this.schema));