copyWith method

EpubSpineItemRef copyWith({
  1. Maybe<String> idRef = const Maybe.none(),
  2. Maybe<bool> isLinear = const Maybe.none(),
})

Implementation

EpubSpineItemRef copyWith(
        {Maybe<String> idRef = const Maybe.none(),
        Maybe<bool> isLinear = const Maybe.none()}) =>
    EpubSpineItemRef(
        idRef.valueOr(this.idRef), isLinear.valueOr(this.isLinear));