import 'environment.dart'; class Application { Application({ required this.environment, }); Environment environment; factory Application.fromJson(Map json) => Application( environment: Environment.fromJson(json), ); Map toJson() => { 'environment': environment, }; } class Localization { Localization( this.culture, this.resources, ); String culture; List resources; } class LocalizationResource { LocalizationResource( this.resourceName, this.texts, ); String resourceName; Map texts; } class SignalrMessage { SignalrMessage( this.method, this.data, ); String method; List data; } class Menu { Menu({ required this.path, required this.name, required this.displayName, this.id = 0, this.level = 0, this.description, this.redirect, this.meta, this.children, }); String path; String name; String displayName; String? description; String? redirect; int level; int id; Map? meta; List? children; }