// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'auth.dart';

// **************************************************************************
// StoreGenerator
// **************************************************************************

// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps, unnecessary_lambdas, prefer_expression_function_bodies, lines_longer_than_80_chars, avoid_as, avoid_annotating_with_dynamic, no_leading_underscores_for_local_identifiers

mixin _$AuthGlobalStore on _AuthGlobalStore, Store {
  late final _$infoAtom = Atom(name: '_AuthGlobalStore.info', context: context);

  @override
  EmployeesInfoModel? get info {
    _$infoAtom.reportRead();
    return super.info;
  }

  @override
  set info(EmployeesInfoModel? value) {
    _$infoAtom.reportWrite(value, super.info, () {
      super.info = value;
    });
  }

  late final _$loginAsyncAction =
      AsyncAction('_AuthGlobalStore.login', context: context);

  @override
  Future<bool> login(
      {required String entCode,
      required String account,
      required String password}) {
    return _$loginAsyncAction.run(() =>
        super.login(entCode: entCode, account: account, password: password));
  }

  late final _$logoutAsyncAction =
      AsyncAction('_AuthGlobalStore.logout', context: context);

  @override
  Future<dynamic> logout() {
    return _$logoutAsyncAction.run(() => super.logout());
  }

  late final _$getInfoAsyncAction =
      AsyncAction('_AuthGlobalStore.getInfo', context: context);

  @override
  Future<bool> getInfo() {
    return _$getInfoAsyncAction.run(() => super.getInfo());
  }

  late final _$_AuthGlobalStoreActionController =
      ActionController(name: '_AuthGlobalStore', context: context);

  @override
  dynamic _setinfo(EmployeesInfoModel? value) {
    final _$actionInfo = _$_AuthGlobalStoreActionController.startAction(
        name: '_AuthGlobalStore._setinfo');
    try {
      return super._setinfo(value);
    } finally {
      _$_AuthGlobalStoreActionController.endAction(_$actionInfo);
    }
  }

  @override
  String toString() {
    return '''
info: ${info}
    ''';
  }
}
