import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:manager_app/client.dart'; import 'package:managerapi/api.dart'; class ManagerAppContext with ChangeNotifier{ String email; TokenDTO token; Client clientAPI; String currentRoute; ConfigurationDTO selectedConfiguration; SectionDTO selectedSection; ManagerAppContext({this.email, this.token, this.currentRoute}); // Implement toString to make it easier to see information about @override String toString() { return 'ManagerAppContext{email: $email, token: $token, currentRoute: $currentRoute}, selectedConfiguration: $selectedConfiguration, selectedSection: $selectedSection}'; } }