// GENERATED CODE - DO NOT MODIFY BY HAND part of 'comment_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 _$CommentStore on _CommentStore, Store { Computed? _$isMineComputed; @override bool get isMine => (_$isMineComputed ??= Computed(() => super.isMine, name: '_CommentStore.isMine')) .value; Computed? _$myVoteComputed; @override VoteType get myVote => (_$myVoteComputed ??= Computed(() => super.myVote, name: '_CommentStore.myVote')) .value; Computed? _$isOPComputed; @override bool get isOP => (_$isOPComputed ??= Computed(() => super.isOP, name: '_CommentStore.isOP')) .value; final _$commentAtom = Atom(name: '_CommentStore.comment'); @override CommentView get comment { _$commentAtom.reportRead(); return super.comment; } @override set comment(CommentView value) { _$commentAtom.reportWrite(value, super.comment, () { super.comment = value; }); } final _$selectableAtom = Atom(name: '_CommentStore.selectable'); @override bool get selectable { _$selectableAtom.reportRead(); return super.selectable; } @override set selectable(bool value) { _$selectableAtom.reportWrite(value, super.selectable, () { super.selectable = value; }); } final _$collapsedAtom = Atom(name: '_CommentStore.collapsed'); @override bool get collapsed { _$collapsedAtom.reportRead(); return super.collapsed; } @override set collapsed(bool value) { _$collapsedAtom.reportWrite(value, super.collapsed, () { super.collapsed = value; }); } final _$showRawAtom = Atom(name: '_CommentStore.showRaw'); @override bool get showRaw { _$showRawAtom.reportRead(); return super.showRaw; } @override set showRaw(bool value) { _$showRawAtom.reportWrite(value, super.showRaw, () { super.showRaw = value; }); } final _$reportAsyncAction = AsyncAction('_CommentStore.report'); @override Future report(Jwt token, String reason) { return _$reportAsyncAction.run(() => super.report(token, reason)); } final _$deleteAsyncAction = AsyncAction('_CommentStore.delete'); @override Future delete(Jwt token) { return _$deleteAsyncAction.run(() => super.delete(token)); } final _$saveAsyncAction = AsyncAction('_CommentStore.save'); @override Future save(Jwt token) { return _$saveAsyncAction.run(() => super.save(token)); } final _$blockAsyncAction = AsyncAction('_CommentStore.block'); @override Future block(Jwt token) { return _$blockAsyncAction.run(() => super.block(token)); } final _$markAsReadAsyncAction = AsyncAction('_CommentStore.markAsRead'); @override Future markAsRead(Jwt token) { return _$markAsReadAsyncAction.run(() => super.markAsRead(token)); } final _$_voteAsyncAction = AsyncAction('_CommentStore._vote'); @override Future _vote(VoteType voteType, Jwt token) { return _$_voteAsyncAction.run(() => super._vote(voteType, token)); } final _$upVoteAsyncAction = AsyncAction('_CommentStore.upVote'); @override Future upVote(Jwt token) { return _$upVoteAsyncAction.run(() => super.upVote(token)); } final _$downVoteAsyncAction = AsyncAction('_CommentStore.downVote'); @override Future downVote(Jwt token) { return _$downVoteAsyncAction.run(() => super.downVote(token)); } final _$_CommentStoreActionController = ActionController(name: '_CommentStore'); @override void toggleShowRaw() { final _$actionInfo = _$_CommentStoreActionController.startAction( name: '_CommentStore.toggleShowRaw'); try { return super.toggleShowRaw(); } finally { _$_CommentStoreActionController.endAction(_$actionInfo); } } @override void toggleSelectable() { final _$actionInfo = _$_CommentStoreActionController.startAction( name: '_CommentStore.toggleSelectable'); try { return super.toggleSelectable(); } finally { _$_CommentStoreActionController.endAction(_$actionInfo); } } @override void toggleCollapsed() { final _$actionInfo = _$_CommentStoreActionController.startAction( name: '_CommentStore.toggleCollapsed'); try { return super.toggleCollapsed(); } finally { _$_CommentStoreActionController.endAction(_$actionInfo); } } @override void addReply(CommentView commentView) { final _$actionInfo = _$_CommentStoreActionController.startAction( name: '_CommentStore.addReply'); try { return super.addReply(commentView); } finally { _$_CommentStoreActionController.endAction(_$actionInfo); } } @override String toString() { return ''' comment: ${comment}, selectable: ${selectable}, collapsed: ${collapsed}, showRaw: ${showRaw}, isMine: ${isMine}, myVote: ${myVote}, isOP: ${isOP} '''; } }