balances.g.dart 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'balances.dart';
  3. // **************************************************************************
  4. // StoreGenerator
  5. // **************************************************************************
  6. // 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
  7. mixin _$BalancesStore on BalancesStoreBase, Store {
  8. final _$nativeAtom = Atom(name: 'BalancesStoreBase.native');
  9. @override
  10. BalanceData? get native {
  11. _$nativeAtom.reportRead();
  12. return super.native;
  13. }
  14. @override
  15. set native(BalanceData? value) {
  16. _$nativeAtom.reportWrite(value, super.native, () {
  17. super.native = value;
  18. });
  19. }
  20. final _$tokensAtom = Atom(name: 'BalancesStoreBase.tokens');
  21. @override
  22. List<TokenBalanceData> get tokens {
  23. _$tokensAtom.reportRead();
  24. return super.tokens;
  25. }
  26. @override
  27. set tokens(List<TokenBalanceData> value) {
  28. _$tokensAtom.reportWrite(value, super.tokens, () {
  29. super.tokens = value;
  30. });
  31. }
  32. final _$isTokensFromCacheAtom =
  33. Atom(name: 'BalancesStoreBase.isTokensFromCache');
  34. @override
  35. bool get isTokensFromCache {
  36. _$isTokensFromCacheAtom.reportRead();
  37. return super.isTokensFromCache;
  38. }
  39. @override
  40. set isTokensFromCache(bool value) {
  41. _$isTokensFromCacheAtom.reportWrite(value, super.isTokensFromCache, () {
  42. super.isTokensFromCache = value;
  43. });
  44. }
  45. final _$extraTokensAtom = Atom(name: 'BalancesStoreBase.extraTokens');
  46. @override
  47. List<ExtraTokenData>? get extraTokens {
  48. _$extraTokensAtom.reportRead();
  49. return super.extraTokens;
  50. }
  51. @override
  52. set extraTokens(List<ExtraTokenData>? value) {
  53. _$extraTokensAtom.reportWrite(value, super.extraTokens, () {
  54. super.extraTokens = value;
  55. });
  56. }
  57. final _$BalancesStoreBaseActionController =
  58. ActionController(name: 'BalancesStoreBase');
  59. @override
  60. void setBalance(BalanceData data) {
  61. final _$actionInfo = _$BalancesStoreBaseActionController.startAction(
  62. name: 'BalancesStoreBase.setBalance');
  63. try {
  64. return super.setBalance(data);
  65. } finally {
  66. _$BalancesStoreBaseActionController.endAction(_$actionInfo);
  67. }
  68. }
  69. @override
  70. void setTokens(List<TokenBalanceData> ls, {bool isFromCache = false}) {
  71. final _$actionInfo = _$BalancesStoreBaseActionController.startAction(
  72. name: 'BalancesStoreBase.setTokens');
  73. try {
  74. return super.setTokens(ls, isFromCache: isFromCache);
  75. } finally {
  76. _$BalancesStoreBaseActionController.endAction(_$actionInfo);
  77. }
  78. }
  79. @override
  80. void setExtraTokens(List<ExtraTokenData> ls) {
  81. final _$actionInfo = _$BalancesStoreBaseActionController.startAction(
  82. name: 'BalancesStoreBase.setExtraTokens');
  83. try {
  84. return super.setExtraTokens(ls);
  85. } finally {
  86. _$BalancesStoreBaseActionController.endAction(_$actionInfo);
  87. }
  88. }
  89. @override
  90. String toString() {
  91. return '''
  92. native: ${native},
  93. tokens: ${tokens},
  94. isTokensFromCache: ${isTokensFromCache},
  95. extraTokens: ${extraTokens}
  96. ''';
  97. }
  98. }