RenovationController class abstract

A superclass to be inherited by controllers.

It contains the following methods that are concrete:

  • getCore which returns the Renovation instance

  • getHostUrl which returns the host URL used to connect to the backend

Implementers

Constructors

RenovationController(RenovationConfig config)

Properties

config RenovationConfig
final
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.
getCore() Renovation
Gets the reference to the Renovation instance
getHostUrl() String
Returns the configured host URL towards the backend
handleError(String errorId, ErrorDetail error) → ErrorDetail
Returns the ErrorDetail after manipulating an existing one.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

genericError(ErrorDetail? errorDetail) → ErrorDetail
A generic method to parse a GenericError. The following is achieved on the object:

Constants

GENERIC_ERROR_TITLE → const String