mirrored_repositories/pic_connect_app/lib/features
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// 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_target, unnecessary_question_mark

part of 'followers_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 information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');

/// @nodoc
mixin _$FollowersEvent {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) =>
      throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $FollowersEventCopyWith<$Res> {
  factory $FollowersEventCopyWith(
          FollowersEvent value, $Res Function(FollowersEvent) then) =
      _$FollowersEventCopyWithImpl<$Res, FollowersEvent>;
}

/// @nodoc
class _$FollowersEventCopyWithImpl<$Res, $Val extends FollowersEvent>
    implements $FollowersEventCopyWith<$Res> {
  _$FollowersEventCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;
}

/// @nodoc
abstract class _$$OnLoadFollowersEventCopyWith<$Res> {
  factory _$$OnLoadFollowersEventCopyWith(_$OnLoadFollowersEvent value,
          $Res Function(_$OnLoadFollowersEvent) then) =
      __$$OnLoadFollowersEventCopyWithImpl<$Res>;
  @useResult
  $Res call({String userUid, String authUserUid});
}

/// @nodoc
class __$$OnLoadFollowersEventCopyWithImpl<$Res>
    extends _$FollowersEventCopyWithImpl<$Res, _$OnLoadFollowersEvent>
    implements _$$OnLoadFollowersEventCopyWith<$Res> {
  __$$OnLoadFollowersEventCopyWithImpl(_$OnLoadFollowersEvent _value,
      $Res Function(_$OnLoadFollowersEvent) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? userUid = null,
    Object? authUserUid = null,
  }) {
    return _then(_$OnLoadFollowersEvent(
      null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
      null == authUserUid
          ? _value.authUserUid
          : authUserUid // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc

class _$OnLoadFollowersEvent implements OnLoadFollowersEvent {
  const _$OnLoadFollowersEvent(this.userUid, this.authUserUid);

  @override
  final String userUid;
  @override
  final String authUserUid;

  @override
  String toString() {
    return 'FollowersEvent.loadFollowers(userUid: $userUid, authUserUid: $authUserUid)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OnLoadFollowersEvent &&
            (identical(other.userUid, userUid) || other.userUid == userUid) &&
            (identical(other.authUserUid, authUserUid) ||
                other.authUserUid == authUserUid));
  }

  @override
  int get hashCode => Object.hash(runtimeType, userUid, authUserUid);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OnLoadFollowersEventCopyWith<_$OnLoadFollowersEvent> get copyWith =>
      __$$OnLoadFollowersEventCopyWithImpl<_$OnLoadFollowersEvent>(
          this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) {
    return loadFollowers(userUid, authUserUid);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) {
    return loadFollowers?.call(userUid, authUserUid);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) {
    if (loadFollowers != null) {
      return loadFollowers(userUid, authUserUid);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) {
    return loadFollowers(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) {
    return loadFollowers?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) {
    if (loadFollowers != null) {
      return loadFollowers(this);
    }
    return orElse();
  }
}

abstract class OnLoadFollowersEvent implements FollowersEvent {
  const factory OnLoadFollowersEvent(
      final String userUid, final String authUserUid) = _$OnLoadFollowersEvent;

  String get userUid;
  String get authUserUid;
  @JsonKey(ignore: true)
  _$$OnLoadFollowersEventCopyWith<_$OnLoadFollowersEvent> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$OnLoadFollowingEventCopyWith<$Res> {
  factory _$$OnLoadFollowingEventCopyWith(_$OnLoadFollowingEvent value,
          $Res Function(_$OnLoadFollowingEvent) then) =
      __$$OnLoadFollowingEventCopyWithImpl<$Res>;
  @useResult
  $Res call({String userUid, String authUserUid});
}

/// @nodoc
class __$$OnLoadFollowingEventCopyWithImpl<$Res>
    extends _$FollowersEventCopyWithImpl<$Res, _$OnLoadFollowingEvent>
    implements _$$OnLoadFollowingEventCopyWith<$Res> {
  __$$OnLoadFollowingEventCopyWithImpl(_$OnLoadFollowingEvent _value,
      $Res Function(_$OnLoadFollowingEvent) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? userUid = null,
    Object? authUserUid = null,
  }) {
    return _then(_$OnLoadFollowingEvent(
      null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
      null == authUserUid
          ? _value.authUserUid
          : authUserUid // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc

class _$OnLoadFollowingEvent implements OnLoadFollowingEvent {
  const _$OnLoadFollowingEvent(this.userUid, this.authUserUid);

  @override
  final String userUid;
  @override
  final String authUserUid;

  @override
  String toString() {
    return 'FollowersEvent.loadFollowing(userUid: $userUid, authUserUid: $authUserUid)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OnLoadFollowingEvent &&
            (identical(other.userUid, userUid) || other.userUid == userUid) &&
            (identical(other.authUserUid, authUserUid) ||
                other.authUserUid == authUserUid));
  }

  @override
  int get hashCode => Object.hash(runtimeType, userUid, authUserUid);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OnLoadFollowingEventCopyWith<_$OnLoadFollowingEvent> get copyWith =>
      __$$OnLoadFollowingEventCopyWithImpl<_$OnLoadFollowingEvent>(
          this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) {
    return loadFollowing(userUid, authUserUid);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) {
    return loadFollowing?.call(userUid, authUserUid);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) {
    if (loadFollowing != null) {
      return loadFollowing(userUid, authUserUid);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) {
    return loadFollowing(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) {
    return loadFollowing?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) {
    if (loadFollowing != null) {
      return loadFollowing(this);
    }
    return orElse();
  }
}

abstract class OnLoadFollowingEvent implements FollowersEvent {
  const factory OnLoadFollowingEvent(
      final String userUid, final String authUserUid) = _$OnLoadFollowingEvent;

  String get userUid;
  String get authUserUid;
  @JsonKey(ignore: true)
  _$$OnLoadFollowingEventCopyWith<_$OnLoadFollowingEvent> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$OnFollowUserEventCopyWith<$Res> {
  factory _$$OnFollowUserEventCopyWith(
          _$OnFollowUserEvent value, $Res Function(_$OnFollowUserEvent) then) =
      __$$OnFollowUserEventCopyWithImpl<$Res>;
  @useResult
  $Res call({String userUid});
}

/// @nodoc
class __$$OnFollowUserEventCopyWithImpl<$Res>
    extends _$FollowersEventCopyWithImpl<$Res, _$OnFollowUserEvent>
    implements _$$OnFollowUserEventCopyWith<$Res> {
  __$$OnFollowUserEventCopyWithImpl(
      _$OnFollowUserEvent _value, $Res Function(_$OnFollowUserEvent) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? userUid = null,
  }) {
    return _then(_$OnFollowUserEvent(
      null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc

class _$OnFollowUserEvent implements OnFollowUserEvent {
  const _$OnFollowUserEvent(this.userUid);

  @override
  final String userUid;

  @override
  String toString() {
    return 'FollowersEvent.followUser(userUid: $userUid)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OnFollowUserEvent &&
            (identical(other.userUid, userUid) || other.userUid == userUid));
  }

  @override
  int get hashCode => Object.hash(runtimeType, userUid);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OnFollowUserEventCopyWith<_$OnFollowUserEvent> get copyWith =>
      __$$OnFollowUserEventCopyWithImpl<_$OnFollowUserEvent>(this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) {
    return followUser(userUid);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) {
    return followUser?.call(userUid);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) {
    if (followUser != null) {
      return followUser(userUid);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) {
    return followUser(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) {
    return followUser?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) {
    if (followUser != null) {
      return followUser(this);
    }
    return orElse();
  }
}

abstract class OnFollowUserEvent implements FollowersEvent {
  const factory OnFollowUserEvent(final String userUid) = _$OnFollowUserEvent;

  String get userUid;
  @JsonKey(ignore: true)
  _$$OnFollowUserEventCopyWith<_$OnFollowUserEvent> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$OnUnFollowUserEventCopyWith<$Res> {
  factory _$$OnUnFollowUserEventCopyWith(_$OnUnFollowUserEvent value,
          $Res Function(_$OnUnFollowUserEvent) then) =
      __$$OnUnFollowUserEventCopyWithImpl<$Res>;
  @useResult
  $Res call({String userUid});
}

/// @nodoc
class __$$OnUnFollowUserEventCopyWithImpl<$Res>
    extends _$FollowersEventCopyWithImpl<$Res, _$OnUnFollowUserEvent>
    implements _$$OnUnFollowUserEventCopyWith<$Res> {
  __$$OnUnFollowUserEventCopyWithImpl(
      _$OnUnFollowUserEvent _value, $Res Function(_$OnUnFollowUserEvent) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? userUid = null,
  }) {
    return _then(_$OnUnFollowUserEvent(
      null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
    ));
  }
}

/// @nodoc

class _$OnUnFollowUserEvent implements OnUnFollowUserEvent {
  const _$OnUnFollowUserEvent(this.userUid);

  @override
  final String userUid;

  @override
  String toString() {
    return 'FollowersEvent.unFollowUser(userUid: $userUid)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$OnUnFollowUserEvent &&
            (identical(other.userUid, userUid) || other.userUid == userUid));
  }

  @override
  int get hashCode => Object.hash(runtimeType, userUid);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$OnUnFollowUserEventCopyWith<_$OnUnFollowUserEvent> get copyWith =>
      __$$OnUnFollowUserEventCopyWithImpl<_$OnUnFollowUserEvent>(
          this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) {
    return unFollowUser(userUid);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) {
    return unFollowUser?.call(userUid);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) {
    if (unFollowUser != null) {
      return unFollowUser(userUid);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) {
    return unFollowUser(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) {
    return unFollowUser?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) {
    if (unFollowUser != null) {
      return unFollowUser(this);
    }
    return orElse();
  }
}

abstract class OnUnFollowUserEvent implements FollowersEvent {
  const factory OnUnFollowUserEvent(final String userUid) =
      _$OnUnFollowUserEvent;

  String get userUid;
  @JsonKey(ignore: true)
  _$$OnUnFollowUserEventCopyWith<_$OnUnFollowUserEvent> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$OnRefreshDataEventCopyWith<$Res> {
  factory _$$OnRefreshDataEventCopyWith(_$OnRefreshDataEvent value,
          $Res Function(_$OnRefreshDataEvent) then) =
      __$$OnRefreshDataEventCopyWithImpl<$Res>;
}

/// @nodoc
class __$$OnRefreshDataEventCopyWithImpl<$Res>
    extends _$FollowersEventCopyWithImpl<$Res, _$OnRefreshDataEvent>
    implements _$$OnRefreshDataEventCopyWith<$Res> {
  __$$OnRefreshDataEventCopyWithImpl(
      _$OnRefreshDataEvent _value, $Res Function(_$OnRefreshDataEvent) _then)
      : super(_value, _then);
}

/// @nodoc

class _$OnRefreshDataEvent implements OnRefreshDataEvent {
  const _$OnRefreshDataEvent();

  @override
  String toString() {
    return 'FollowersEvent.refreshData()';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType && other is _$OnRefreshDataEvent);
  }

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function(String userUid, String authUserUid) loadFollowers,
    required TResult Function(String userUid, String authUserUid) loadFollowing,
    required TResult Function(String userUid) followUser,
    required TResult Function(String userUid) unFollowUser,
    required TResult Function() refreshData,
  }) {
    return refreshData();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function(String userUid, String authUserUid)? loadFollowers,
    TResult? Function(String userUid, String authUserUid)? loadFollowing,
    TResult? Function(String userUid)? followUser,
    TResult? Function(String userUid)? unFollowUser,
    TResult? Function()? refreshData,
  }) {
    return refreshData?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function(String userUid, String authUserUid)? loadFollowers,
    TResult Function(String userUid, String authUserUid)? loadFollowing,
    TResult Function(String userUid)? followUser,
    TResult Function(String userUid)? unFollowUser,
    TResult Function()? refreshData,
    required TResult orElse(),
  }) {
    if (refreshData != null) {
      return refreshData();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(OnLoadFollowersEvent value) loadFollowers,
    required TResult Function(OnLoadFollowingEvent value) loadFollowing,
    required TResult Function(OnFollowUserEvent value) followUser,
    required TResult Function(OnUnFollowUserEvent value) unFollowUser,
    required TResult Function(OnRefreshDataEvent value) refreshData,
  }) {
    return refreshData(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult? Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult? Function(OnFollowUserEvent value)? followUser,
    TResult? Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult? Function(OnRefreshDataEvent value)? refreshData,
  }) {
    return refreshData?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(OnLoadFollowersEvent value)? loadFollowers,
    TResult Function(OnLoadFollowingEvent value)? loadFollowing,
    TResult Function(OnFollowUserEvent value)? followUser,
    TResult Function(OnUnFollowUserEvent value)? unFollowUser,
    TResult Function(OnRefreshDataEvent value)? refreshData,
    required TResult orElse(),
  }) {
    if (refreshData != null) {
      return refreshData(this);
    }
    return orElse();
  }
}

abstract class OnRefreshDataEvent implements FollowersEvent {
  const factory OnRefreshDataEvent() = _$OnRefreshDataEvent;
}

/// @nodoc
mixin _$FollowersState {
  bool get isLoading => throw _privateConstructorUsedError;
  bool get allowUserInput => throw _privateConstructorUsedError;
  List<UserBO> get users => throw _privateConstructorUsedError;
  String get authUserUid => throw _privateConstructorUsedError;
  String get userUid => throw _privateConstructorUsedError;
  ContentTypeEnum get contentType => throw _privateConstructorUsedError;
  String? get errorMessage => throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $FollowersStateCopyWith<FollowersState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $FollowersStateCopyWith<$Res> {
  factory $FollowersStateCopyWith(
          FollowersState value, $Res Function(FollowersState) then) =
      _$FollowersStateCopyWithImpl<$Res, FollowersState>;
  @useResult
  $Res call(
      {bool isLoading,
      bool allowUserInput,
      List<UserBO> users,
      String authUserUid,
      String userUid,
      ContentTypeEnum contentType,
      String? errorMessage});
}

/// @nodoc
class _$FollowersStateCopyWithImpl<$Res, $Val extends FollowersState>
    implements $FollowersStateCopyWith<$Res> {
  _$FollowersStateCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? isLoading = null,
    Object? allowUserInput = null,
    Object? users = null,
    Object? authUserUid = null,
    Object? userUid = null,
    Object? contentType = null,
    Object? errorMessage = freezed,
  }) {
    return _then(_value.copyWith(
      isLoading: null == isLoading
          ? _value.isLoading
          : isLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      allowUserInput: null == allowUserInput
          ? _value.allowUserInput
          : allowUserInput // ignore: cast_nullable_to_non_nullable
              as bool,
      users: null == users
          ? _value.users
          : users // ignore: cast_nullable_to_non_nullable
              as List<UserBO>,
      authUserUid: null == authUserUid
          ? _value.authUserUid
          : authUserUid // ignore: cast_nullable_to_non_nullable
              as String,
      userUid: null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
      contentType: null == contentType
          ? _value.contentType
          : contentType // ignore: cast_nullable_to_non_nullable
              as ContentTypeEnum,
      errorMessage: freezed == errorMessage
          ? _value.errorMessage
          : errorMessage // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$_FollowersStateCopyWith<$Res>
    implements $FollowersStateCopyWith<$Res> {
  factory _$$_FollowersStateCopyWith(
          _$_FollowersState value, $Res Function(_$_FollowersState) then) =
      __$$_FollowersStateCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {bool isLoading,
      bool allowUserInput,
      List<UserBO> users,
      String authUserUid,
      String userUid,
      ContentTypeEnum contentType,
      String? errorMessage});
}

/// @nodoc
class __$$_FollowersStateCopyWithImpl<$Res>
    extends _$FollowersStateCopyWithImpl<$Res, _$_FollowersState>
    implements _$$_FollowersStateCopyWith<$Res> {
  __$$_FollowersStateCopyWithImpl(
      _$_FollowersState _value, $Res Function(_$_FollowersState) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? isLoading = null,
    Object? allowUserInput = null,
    Object? users = null,
    Object? authUserUid = null,
    Object? userUid = null,
    Object? contentType = null,
    Object? errorMessage = freezed,
  }) {
    return _then(_$_FollowersState(
      isLoading: null == isLoading
          ? _value.isLoading
          : isLoading // ignore: cast_nullable_to_non_nullable
              as bool,
      allowUserInput: null == allowUserInput
          ? _value.allowUserInput
          : allowUserInput // ignore: cast_nullable_to_non_nullable
              as bool,
      users: null == users
          ? _value._users
          : users // ignore: cast_nullable_to_non_nullable
              as List<UserBO>,
      authUserUid: null == authUserUid
          ? _value.authUserUid
          : authUserUid // ignore: cast_nullable_to_non_nullable
              as String,
      userUid: null == userUid
          ? _value.userUid
          : userUid // ignore: cast_nullable_to_non_nullable
              as String,
      contentType: null == contentType
          ? _value.contentType
          : contentType // ignore: cast_nullable_to_non_nullable
              as ContentTypeEnum,
      errorMessage: freezed == errorMessage
          ? _value.errorMessage
          : errorMessage // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc

class _$_FollowersState implements _FollowersState {
  const _$_FollowersState(
      {this.isLoading = false,
      this.allowUserInput = true,
      final List<UserBO> users = const [],
      this.authUserUid = "",
      this.userUid = "",
      this.contentType = ContentTypeEnum.followers,
      this.errorMessage})
      : _users = users;

  @override
  @JsonKey()
  final bool isLoading;
  @override
  @JsonKey()
  final bool allowUserInput;
  final List<UserBO> _users;
  @override
  @JsonKey()
  List<UserBO> get users {
    if (_users is EqualUnmodifiableListView) return _users;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_users);
  }

  @override
  @JsonKey()
  final String authUserUid;
  @override
  @JsonKey()
  final String userUid;
  @override
  @JsonKey()
  final ContentTypeEnum contentType;
  @override
  final String? errorMessage;

  @override
  String toString() {
    return 'FollowersState(isLoading: $isLoading, allowUserInput: $allowUserInput, users: $users, authUserUid: $authUserUid, userUid: $userUid, contentType: $contentType, errorMessage: $errorMessage)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_FollowersState &&
            (identical(other.isLoading, isLoading) ||
                other.isLoading == isLoading) &&
            (identical(other.allowUserInput, allowUserInput) ||
                other.allowUserInput == allowUserInput) &&
            const DeepCollectionEquality().equals(other._users, _users) &&
            (identical(other.authUserUid, authUserUid) ||
                other.authUserUid == authUserUid) &&
            (identical(other.userUid, userUid) || other.userUid == userUid) &&
            (identical(other.contentType, contentType) ||
                other.contentType == contentType) &&
            (identical(other.errorMessage, errorMessage) ||
                other.errorMessage == errorMessage));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      isLoading,
      allowUserInput,
      const DeepCollectionEquality().hash(_users),
      authUserUid,
      userUid,
      contentType,
      errorMessage);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$_FollowersStateCopyWith<_$_FollowersState> get copyWith =>
      __$$_FollowersStateCopyWithImpl<_$_FollowersState>(this, _$identity);
}

abstract class _FollowersState implements FollowersState {
  const factory _FollowersState(
      {final bool isLoading,
      final bool allowUserInput,
      final List<UserBO> users,
      final String authUserUid,
      final String userUid,
      final ContentTypeEnum contentType,
      final String? errorMessage}) = _$_FollowersState;

  @override
  bool get isLoading;
  @override
  bool get allowUserInput;
  @override
  List<UserBO> get users;
  @override
  String get authUserUid;
  @override
  String get userUid;
  @override
  ContentTypeEnum get contentType;
  @override
  String? get errorMessage;
  @override
  @JsonKey(ignore: true)
  _$$_FollowersStateCopyWith<_$_FollowersState> get copyWith =>
      throw _privateConstructorUsedError;
}
