LCOV - code coverage report
Current view: top level - lib/_classes/controller - flow_state_machine.dart Coverage Total Hit
Test: lcov.info Lines: 0.0 % 7 0
Test Date: 2026-11-14 15:04:37 Functions: - 0 0

            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              : import 'package:app_finance/_classes/structure/interface_app_data.dart';
       6              : import 'package:material_ui/material_ui.dart';
       7              : 
       8              : class FlowStateMachine {
       9            0 :   static void deactivate(NavigatorState? nav, {required AppData store, String? uuid, InterfaceAppData? data}) {
      10            0 :     assert(uuid != null || data != null);
      11            0 :     final obj = data ?? store.getByUuid(uuid!);
      12            0 :     obj.deactivate();
      13            0 :     store.update(obj.uuid, obj);
      14            0 :     store.restate();
      15            0 :     nav?.pop();
      16              :   }
      17              : }
        

Generated by: LCOV version 2.0-1