-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontador.store.g.dart
More file actions
48 lines (39 loc) · 1.35 KB
/
contador.store.g.dart
File metadata and controls
48 lines (39 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'contador.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, no_leading_underscores_for_local_identifiers
mixin _$ContadorStore on _ContadorStore, Store {
late final _$contadorAtom =
Atom(name: '_ContadorStore.contador', context: context);
@override
int get contador {
_$contadorAtom.reportRead();
return super.contador;
}
@override
set contador(int value) {
_$contadorAtom.reportWrite(value, super.contador, () {
super.contador = value;
});
}
late final _$_ContadorStoreActionController =
ActionController(name: '_ContadorStore', context: context);
@override
void incrementar() {
final _$actionInfo = _$_ContadorStoreActionController.startAction(
name: '_ContadorStore.incrementar');
try {
return super.incrementar();
} finally {
_$_ContadorStoreActionController.endAction(_$actionInfo);
}
}
@override
String toString() {
return '''
contador: ${contador}
''';
}
}