Config constructor
Implementation
Config({this.workspace, this.userID, this.token}) {
var cookie = _getCookie("profile");
if (cookie != null) {
this._profile =
jsonDecode(Uri.decodeFull(cookie)) ?? "{}" as Map<dynamic, dynamic>;
this.userID = this._profile["id"] ?? "";
}
}