libs/common
library
Functions
-
constructUrlWithQueryParams(String url, Map<String, dynamic>? parameters)
→ String
-
Construct full URL from base URL and query parameters object.
@param url url without query parameters
@param parameters query parameters
-
exceptionHandler(dynamic e)
→ void
-
Exception handler for requests sent by CLI service.
@param e exception
-
toBoolean(String? value)
→ bool?
-
Convert value to boolean if defined, else return undefined.
@param value value converted
-
toInteger(String? value)
→ int?
-
Convert value to integer if defined, else return undefined.
@param value value converted