You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
771 B
44 lines
771 B
import 'environment.dart';
|
|
|
|
class Application {
|
|
Application({
|
|
required this.environment,
|
|
});
|
|
Environment environment;
|
|
|
|
factory Application.fromJson(Map<String, dynamic> json) => Application(
|
|
environment: Environment.fromJson(json),
|
|
);
|
|
|
|
Map<String, dynamic> toJson() =>
|
|
<String, dynamic>{
|
|
'environment': environment,
|
|
};
|
|
}
|
|
|
|
class Localization {
|
|
Localization(
|
|
this.culture,
|
|
this.resources,
|
|
);
|
|
String culture;
|
|
List<LocalizationResource> resources;
|
|
}
|
|
|
|
class LocalizationResource {
|
|
LocalizationResource(
|
|
this.resourceName,
|
|
this.texts,
|
|
);
|
|
String resourceName;
|
|
Map<String, String> texts;
|
|
}
|
|
|
|
class SignalrMessage {
|
|
SignalrMessage(
|
|
this.method,
|
|
this.data,
|
|
);
|
|
String method;
|
|
List<Object?> data;
|
|
}
|
|
|