// GENERATED CODE - DO NOT MODIFY BY HAND part of 'async_store.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 mixin _$AsyncStore on _AsyncStore, Store { Computed? _$isLoadingComputed; @override bool get isLoading => (_$isLoadingComputed ??= Computed(() => super.isLoading, name: '_AsyncStore.isLoading')) .value; Computed? _$errorTermComputed; @override String? get errorTerm => (_$errorTermComputed ??= Computed(() => super.errorTerm, name: '_AsyncStore.errorTerm')) .value; final _$asyncStateAtom = Atom(name: '_AsyncStore.asyncState'); @override AsyncState get asyncState { _$asyncStateAtom.reportRead(); return super.asyncState; } @override set asyncState(AsyncState value) { _$asyncStateAtom.reportWrite(value, super.asyncState, () { super.asyncState = value; }); } final _$runAsyncAction = AsyncAction('_AsyncStore.run'); @override Future run(AsyncValueGetter callback) { return _$runAsyncAction.run(() => super.run(callback)); } final _$runLemmyAsyncAction = AsyncAction('_AsyncStore.runLemmy'); @override Future runLemmy(String instanceHost, LemmyApiQuery query) { return _$runLemmyAsyncAction.run(() => super.runLemmy(instanceHost, query)); } @override String toString() { return ''' asyncState: ${asyncState}, isLoading: ${isLoading}, errorTerm: ${errorTerm} '''; } }