MetaController class abstract

A controller containing properties and methods about the models (meta data).

Inheritance
Implementers

Constructors

MetaController(RenovationConfig config)

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.
inherited
getCore() Renovation
Gets the reference to the Renovation instance
inherited
getDocCount({required String doctype, dynamic filters}) Future<RequestResponse<int?>>
Returns the number of documents of a doctype available in the backend within RequestResponse.
getDocInfo({required String doctype, required String docname}) Future<RequestResponse>
Returns information about a document docname of type doctype.
getDocMeta({required String? doctype}) Future<RequestResponse>
Returns the meta about a doctype (collection).
getFieldLabel({required String doctype, required String fieldName}) Future<String?>
Returns the label of a field fieldName.
getHostUrl() String
Returns the configured host URL towards the backend
inherited
getReportMeta({required String report}) Future<RequestResponse>
Returns meta details of a report.
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