copyWith method

EpubMetadataIdentifier copyWith({
  1. Maybe<String> identifier = const Maybe.none(),
  2. Maybe<String?> id = const Maybe.none(),
  3. Maybe<String?> scheme = const Maybe.none(),
})

Implementation

EpubMetadataIdentifier copyWith(
        {Maybe<String> identifier = const Maybe.none(),
        Maybe<String?> id = const Maybe.none(),
        Maybe<String?> scheme = const Maybe.none()}) =>
    EpubMetadataIdentifier(identifier.valueOr(this.identifier),
        id.valueOr(this.id), scheme.valueOr(this.scheme));