WidgetsRepo class
- Implemented types
Constructors
- WidgetsRepo({required IHubbleHttpBuilder http, required StringGetter baseUrl})
Properties
Methods
-
getContext(
{required String contextId}) → Future< Result< Map< >String, String> > -
override
-
getJson(
{required String resId}) → Future< Result< Map< >String, dynamic> > -
override
-
getMarkdown(
{required String resId}) → Future< Result< String> > -
override
-
getPage(
{required String pageId, required Map< String, String> offset, String? customBaseUrl}) → Future<Result< WidgetPage> > -
override
-
getWidget(
{required String widgetId, required Map< String, String> params, String? customBaseUrl}) → Future<Result< XWidget> > -
override
-
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