19 lines
491 B
Dart
19 lines
491 B
Dart
import 'dart:convert';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:managerapi/api.dart';
|
|
|
|
|
|
class ManagerAppContext with ChangeNotifier{
|
|
String email;
|
|
TokenDTO token;
|
|
dynamic clientAPI;
|
|
String currentRoute;
|
|
|
|
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}';
|
|
}
|
|
} |