| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646 | // GENERATED CODE - DO NOT MODIFY BY HAND// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_targetpart of 'doc_edit_bloc.dart';// **************************************************************************// FreezedGenerator// **************************************************************************T _$identity<T>(T value) => value;final _privateConstructorUsedError = UnsupportedError(    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');/// @nodocclass _$DocEditEventTearOff {  const _$DocEditEventTearOff();  Initial initial() {    return const Initial();  }  Changeset changeset(String data) {    return Changeset(      data,    );  }  Save save(String data) {    return Save(      data,    );  }  Close close() {    return const Close();  }}/// @nodocconst $DocEditEvent = _$DocEditEventTearOff();/// @nodocmixin _$DocEditEvent {  @optionalTypeArgs  TResult when<TResult extends Object?>({    required TResult Function() initial,    required TResult Function(String data) changeset,    required TResult Function(String data) save,    required TResult Function() close,  }) =>      throw _privateConstructorUsedError;  @optionalTypeArgs  TResult maybeWhen<TResult extends Object?>({    TResult Function()? initial,    TResult Function(String data)? changeset,    TResult Function(String data)? save,    TResult Function()? close,    required TResult orElse(),  }) =>      throw _privateConstructorUsedError;  @optionalTypeArgs  TResult map<TResult extends Object?>({    required TResult Function(Initial value) initial,    required TResult Function(Changeset value) changeset,    required TResult Function(Save value) save,    required TResult Function(Close value) close,  }) =>      throw _privateConstructorUsedError;  @optionalTypeArgs  TResult maybeMap<TResult extends Object?>({    TResult Function(Initial value)? initial,    TResult Function(Changeset value)? changeset,    TResult Function(Save value)? save,    TResult Function(Close value)? close,    required TResult orElse(),  }) =>      throw _privateConstructorUsedError;}/// @nodocabstract class $DocEditEventCopyWith<$Res> {  factory $DocEditEventCopyWith(          DocEditEvent value, $Res Function(DocEditEvent) then) =      _$DocEditEventCopyWithImpl<$Res>;}/// @nodocclass _$DocEditEventCopyWithImpl<$Res> implements $DocEditEventCopyWith<$Res> {  _$DocEditEventCopyWithImpl(this._value, this._then);  final DocEditEvent _value;  // ignore: unused_field  final $Res Function(DocEditEvent) _then;}/// @nodocabstract class $InitialCopyWith<$Res> {  factory $InitialCopyWith(Initial value, $Res Function(Initial) then) =      _$InitialCopyWithImpl<$Res>;}/// @nodocclass _$InitialCopyWithImpl<$Res> extends _$DocEditEventCopyWithImpl<$Res>    implements $InitialCopyWith<$Res> {  _$InitialCopyWithImpl(Initial _value, $Res Function(Initial) _then)      : super(_value, (v) => _then(v as Initial));  @override  Initial get _value => super._value as Initial;}/// @nodocclass _$Initial implements Initial {  const _$Initial();  @override  String toString() {    return 'DocEditEvent.initial()';  }  @override  bool operator ==(dynamic other) {    return identical(this, other) || (other is Initial);  }  @override  int get hashCode => runtimeType.hashCode;  @override  @optionalTypeArgs  TResult when<TResult extends Object?>({    required TResult Function() initial,    required TResult Function(String data) changeset,    required TResult Function(String data) save,    required TResult Function() close,  }) {    return initial();  }  @override  @optionalTypeArgs  TResult maybeWhen<TResult extends Object?>({    TResult Function()? initial,    TResult Function(String data)? changeset,    TResult Function(String data)? save,    TResult Function()? close,    required TResult orElse(),  }) {    if (initial != null) {      return initial();    }    return orElse();  }  @override  @optionalTypeArgs  TResult map<TResult extends Object?>({    required TResult Function(Initial value) initial,    required TResult Function(Changeset value) changeset,    required TResult Function(Save value) save,    required TResult Function(Close value) close,  }) {    return initial(this);  }  @override  @optionalTypeArgs  TResult maybeMap<TResult extends Object?>({    TResult Function(Initial value)? initial,    TResult Function(Changeset value)? changeset,    TResult Function(Save value)? save,    TResult Function(Close value)? close,    required TResult orElse(),  }) {    if (initial != null) {      return initial(this);    }    return orElse();  }}abstract class Initial implements DocEditEvent {  const factory Initial() = _$Initial;}/// @nodocabstract class $ChangesetCopyWith<$Res> {  factory $ChangesetCopyWith(Changeset value, $Res Function(Changeset) then) =      _$ChangesetCopyWithImpl<$Res>;  $Res call({String data});}/// @nodocclass _$ChangesetCopyWithImpl<$Res> extends _$DocEditEventCopyWithImpl<$Res>    implements $ChangesetCopyWith<$Res> {  _$ChangesetCopyWithImpl(Changeset _value, $Res Function(Changeset) _then)      : super(_value, (v) => _then(v as Changeset));  @override  Changeset get _value => super._value as Changeset;  @override  $Res call({    Object? data = freezed,  }) {    return _then(Changeset(      data == freezed          ? _value.data          : data // ignore: cast_nullable_to_non_nullable              as String,    ));  }}/// @nodocclass _$Changeset implements Changeset {  const _$Changeset(this.data);  @override  final String data;  @override  String toString() {    return 'DocEditEvent.changeset(data: $data)';  }  @override  bool operator ==(dynamic other) {    return identical(this, other) ||        (other is Changeset &&            (identical(other.data, data) ||                const DeepCollectionEquality().equals(other.data, data)));  }  @override  int get hashCode =>      runtimeType.hashCode ^ const DeepCollectionEquality().hash(data);  @JsonKey(ignore: true)  @override  $ChangesetCopyWith<Changeset> get copyWith =>      _$ChangesetCopyWithImpl<Changeset>(this, _$identity);  @override  @optionalTypeArgs  TResult when<TResult extends Object?>({    required TResult Function() initial,    required TResult Function(String data) changeset,    required TResult Function(String data) save,    required TResult Function() close,  }) {    return changeset(data);  }  @override  @optionalTypeArgs  TResult maybeWhen<TResult extends Object?>({    TResult Function()? initial,    TResult Function(String data)? changeset,    TResult Function(String data)? save,    TResult Function()? close,    required TResult orElse(),  }) {    if (changeset != null) {      return changeset(data);    }    return orElse();  }  @override  @optionalTypeArgs  TResult map<TResult extends Object?>({    required TResult Function(Initial value) initial,    required TResult Function(Changeset value) changeset,    required TResult Function(Save value) save,    required TResult Function(Close value) close,  }) {    return changeset(this);  }  @override  @optionalTypeArgs  TResult maybeMap<TResult extends Object?>({    TResult Function(Initial value)? initial,    TResult Function(Changeset value)? changeset,    TResult Function(Save value)? save,    TResult Function(Close value)? close,    required TResult orElse(),  }) {    if (changeset != null) {      return changeset(this);    }    return orElse();  }}abstract class Changeset implements DocEditEvent {  const factory Changeset(String data) = _$Changeset;  String get data => throw _privateConstructorUsedError;  @JsonKey(ignore: true)  $ChangesetCopyWith<Changeset> get copyWith =>      throw _privateConstructorUsedError;}/// @nodocabstract class $SaveCopyWith<$Res> {  factory $SaveCopyWith(Save value, $Res Function(Save) then) =      _$SaveCopyWithImpl<$Res>;  $Res call({String data});}/// @nodocclass _$SaveCopyWithImpl<$Res> extends _$DocEditEventCopyWithImpl<$Res>    implements $SaveCopyWith<$Res> {  _$SaveCopyWithImpl(Save _value, $Res Function(Save) _then)      : super(_value, (v) => _then(v as Save));  @override  Save get _value => super._value as Save;  @override  $Res call({    Object? data = freezed,  }) {    return _then(Save(      data == freezed          ? _value.data          : data // ignore: cast_nullable_to_non_nullable              as String,    ));  }}/// @nodocclass _$Save implements Save {  const _$Save(this.data);  @override  final String data;  @override  String toString() {    return 'DocEditEvent.save(data: $data)';  }  @override  bool operator ==(dynamic other) {    return identical(this, other) ||        (other is Save &&            (identical(other.data, data) ||                const DeepCollectionEquality().equals(other.data, data)));  }  @override  int get hashCode =>      runtimeType.hashCode ^ const DeepCollectionEquality().hash(data);  @JsonKey(ignore: true)  @override  $SaveCopyWith<Save> get copyWith =>      _$SaveCopyWithImpl<Save>(this, _$identity);  @override  @optionalTypeArgs  TResult when<TResult extends Object?>({    required TResult Function() initial,    required TResult Function(String data) changeset,    required TResult Function(String data) save,    required TResult Function() close,  }) {    return save(data);  }  @override  @optionalTypeArgs  TResult maybeWhen<TResult extends Object?>({    TResult Function()? initial,    TResult Function(String data)? changeset,    TResult Function(String data)? save,    TResult Function()? close,    required TResult orElse(),  }) {    if (save != null) {      return save(data);    }    return orElse();  }  @override  @optionalTypeArgs  TResult map<TResult extends Object?>({    required TResult Function(Initial value) initial,    required TResult Function(Changeset value) changeset,    required TResult Function(Save value) save,    required TResult Function(Close value) close,  }) {    return save(this);  }  @override  @optionalTypeArgs  TResult maybeMap<TResult extends Object?>({    TResult Function(Initial value)? initial,    TResult Function(Changeset value)? changeset,    TResult Function(Save value)? save,    TResult Function(Close value)? close,    required TResult orElse(),  }) {    if (save != null) {      return save(this);    }    return orElse();  }}abstract class Save implements DocEditEvent {  const factory Save(String data) = _$Save;  String get data => throw _privateConstructorUsedError;  @JsonKey(ignore: true)  $SaveCopyWith<Save> get copyWith => throw _privateConstructorUsedError;}/// @nodocabstract class $CloseCopyWith<$Res> {  factory $CloseCopyWith(Close value, $Res Function(Close) then) =      _$CloseCopyWithImpl<$Res>;}/// @nodocclass _$CloseCopyWithImpl<$Res> extends _$DocEditEventCopyWithImpl<$Res>    implements $CloseCopyWith<$Res> {  _$CloseCopyWithImpl(Close _value, $Res Function(Close) _then)      : super(_value, (v) => _then(v as Close));  @override  Close get _value => super._value as Close;}/// @nodocclass _$Close implements Close {  const _$Close();  @override  String toString() {    return 'DocEditEvent.close()';  }  @override  bool operator ==(dynamic other) {    return identical(this, other) || (other is Close);  }  @override  int get hashCode => runtimeType.hashCode;  @override  @optionalTypeArgs  TResult when<TResult extends Object?>({    required TResult Function() initial,    required TResult Function(String data) changeset,    required TResult Function(String data) save,    required TResult Function() close,  }) {    return close();  }  @override  @optionalTypeArgs  TResult maybeWhen<TResult extends Object?>({    TResult Function()? initial,    TResult Function(String data)? changeset,    TResult Function(String data)? save,    TResult Function()? close,    required TResult orElse(),  }) {    if (close != null) {      return close();    }    return orElse();  }  @override  @optionalTypeArgs  TResult map<TResult extends Object?>({    required TResult Function(Initial value) initial,    required TResult Function(Changeset value) changeset,    required TResult Function(Save value) save,    required TResult Function(Close value) close,  }) {    return close(this);  }  @override  @optionalTypeArgs  TResult maybeMap<TResult extends Object?>({    TResult Function(Initial value)? initial,    TResult Function(Changeset value)? changeset,    TResult Function(Save value)? save,    TResult Function(Close value)? close,    required TResult orElse(),  }) {    if (close != null) {      return close(this);    }    return orElse();  }}abstract class Close implements DocEditEvent {  const factory Close() = _$Close;}/// @nodocclass _$DocEditStateTearOff {  const _$DocEditStateTearOff();  _DocEditState call({required bool isSaving}) {    return _DocEditState(      isSaving: isSaving,    );  }}/// @nodocconst $DocEditState = _$DocEditStateTearOff();/// @nodocmixin _$DocEditState {  bool get isSaving => throw _privateConstructorUsedError;  @JsonKey(ignore: true)  $DocEditStateCopyWith<DocEditState> get copyWith =>      throw _privateConstructorUsedError;}/// @nodocabstract class $DocEditStateCopyWith<$Res> {  factory $DocEditStateCopyWith(          DocEditState value, $Res Function(DocEditState) then) =      _$DocEditStateCopyWithImpl<$Res>;  $Res call({bool isSaving});}/// @nodocclass _$DocEditStateCopyWithImpl<$Res> implements $DocEditStateCopyWith<$Res> {  _$DocEditStateCopyWithImpl(this._value, this._then);  final DocEditState _value;  // ignore: unused_field  final $Res Function(DocEditState) _then;  @override  $Res call({    Object? isSaving = freezed,  }) {    return _then(_value.copyWith(      isSaving: isSaving == freezed          ? _value.isSaving          : isSaving // ignore: cast_nullable_to_non_nullable              as bool,    ));  }}/// @nodocabstract class _$DocEditStateCopyWith<$Res>    implements $DocEditStateCopyWith<$Res> {  factory _$DocEditStateCopyWith(          _DocEditState value, $Res Function(_DocEditState) then) =      __$DocEditStateCopyWithImpl<$Res>;  @override  $Res call({bool isSaving});}/// @nodocclass __$DocEditStateCopyWithImpl<$Res> extends _$DocEditStateCopyWithImpl<$Res>    implements _$DocEditStateCopyWith<$Res> {  __$DocEditStateCopyWithImpl(      _DocEditState _value, $Res Function(_DocEditState) _then)      : super(_value, (v) => _then(v as _DocEditState));  @override  _DocEditState get _value => super._value as _DocEditState;  @override  $Res call({    Object? isSaving = freezed,  }) {    return _then(_DocEditState(      isSaving: isSaving == freezed          ? _value.isSaving          : isSaving // ignore: cast_nullable_to_non_nullable              as bool,    ));  }}/// @nodocclass _$_DocEditState implements _DocEditState {  const _$_DocEditState({required this.isSaving});  @override  final bool isSaving;  @override  String toString() {    return 'DocEditState(isSaving: $isSaving)';  }  @override  bool operator ==(dynamic other) {    return identical(this, other) ||        (other is _DocEditState &&            (identical(other.isSaving, isSaving) ||                const DeepCollectionEquality()                    .equals(other.isSaving, isSaving)));  }  @override  int get hashCode =>      runtimeType.hashCode ^ const DeepCollectionEquality().hash(isSaving);  @JsonKey(ignore: true)  @override  _$DocEditStateCopyWith<_DocEditState> get copyWith =>      __$DocEditStateCopyWithImpl<_DocEditState>(this, _$identity);}abstract class _DocEditState implements DocEditState {  const factory _DocEditState({required bool isSaving}) = _$_DocEditState;  @override  bool get isSaving => throw _privateConstructorUsedError;  @override  @JsonKey(ignore: true)  _$DocEditStateCopyWith<_DocEditState> get copyWith =>      throw _privateConstructorUsedError;}
 |