AppConfig class

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

AppConfig(String id, {@JsonKey.new(name: 'app_min_version') required String appMinVersion, @JsonKey.new(name: 'app_privacy') required Map<String, String> appPrivacy, @JsonKey.new(name: 'app_terms') required Map<String, String> appTerms, @JsonKey.new(name: 'designer_privacy') required Map<String, String> designerPrivacy, @JsonKey.new(name: 'designer_terms') required Map<String, String> designerTerms, required Contact contact, required Map<String, String> imprint, required StudyUAnalytics? analytics})
AppConfig.fromJson(Map<String, dynamic> json)
factory

Properties

analytics ↔ StudyUAnalytics?
getter/setter pair
appMinVersion ↔ String
getter/setter pair
appPrivacy ↔ Map<String, String>
getter/setter pair
appTerms ↔ Map<String, String>
getter/setter pair
contact ↔ Contact
getter/setter pair
designerPrivacy ↔ Map<String, String>
getter/setter pair
designerTerms ↔ Map<String, String>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pair
imprint ↔ Map<String, String>
getter/setter pair
primaryKeys → Map<String, Object>
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() → Future<AppConfig>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save({bool onlyUpdate = false}) → Future<AppConfig>
Save the object to the database. By default, this will upsert the object, i.e. insert it if it does not exist, or update it if it does. If onlyUpdate is set to true, the object has to exist in the database, otherwise the result will be empty.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

getAppConfig() → Future<AppConfig>
getAppContact() → Future<Contact>

Constants

tableName → const String