FrappeDefaultsController class

Controller for getting and setting key-value pair in Frappé

Inheritance

Properties

config RenovationConfig
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCache() → void
Clears the cache or residual objects.
override
getCore() Renovation
Gets the reference to the Renovation instance
inherited
getDefault({required String key, String? parent = '__default'}) Future<RequestResponse>
Gets the value given the key. Can specify the parent if the key is duplicated under a different parent.
override
getHostUrl() String
Returns the configured host URL towards the backend
inherited
handleError(String? errorId, ErrorDetail error) → ErrorDetail
Returns the ErrorDetail after manipulating an existing one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaults({required String key, required dynamic value, String? parent = '__default'}) Future<RequestResponse>
Sets a default value in backend for a specified key and return nothing if successful.
override
toString() String
A string representation of this object.
inherited

Operators

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