RolleeHelpers class abstract
This class represents helpers for the SDK.
- Annotations
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
developmentUrlBasedOnUrlType(
RolleeUrlType type) → String -
This method returns the URL based on the
typeof URL and theisProductionflag. -
generateInitialConfig(
{required RolleeConnectConfig config}) → RolleeConnectInitialState - Generates an initial state for the RolleeConnect widget. This method is used internally by the SDK.
-
generateProductTypeUrl(
{required RolleeConnectConfig config, required bool isProduction}) → String -
Generates a product URL for the RolleeConnect view widget, based on the
configand theisProductionflag. -
hexFromFlutterColor(
Color? ctaTextColor) → String? - This method returns the hex value of a Color.
-
isValidUrl(
String text) → bool -
Whether the provided
textis a valid URL or not. -
makeURL(
{required RolleeUrlType type, required bool isProduction}) → String -
This method returns the URL based on the
typeof URL and theisProductionflag. -
productionUrlBasedOnUrlType(
RolleeUrlType type) → String -
This method returns a production URL based on the
typeof URL. -
setConfiguration(
RolleeConnectConfig configuration) → Future< void> -
This methods sets a configuration state remotely to your account with the
stateprovided.