Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved. 2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file. 3 : 4 : import 'package:app_finance/_classes/storage/app_data.dart'; 5 : 6 : mixin StorageMixin { 7 : late AppData _state; 8 : 9 0 : dynamic setState(AppData state) { 10 0 : _state = state; 11 : return this; 12 : } 13 : 14 0 : AppData getState() => _state; 15 : }