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 type of URL and the isProduction flag.
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 config and the isProduction flag.
hexFromFlutterColor(Color? ctaTextColor) String?
This method returns the hex value of a Color.
isValidUrl(String text) bool
Whether the provided text is a valid URL or not.
makeURL({required RolleeUrlType type, required bool isProduction}) String
This method returns the URL based on the type of URL and the isProduction flag.
productionUrlBasedOnUrlType(RolleeUrlType type) String
This method returns a production URL based on the type of URL.
setConfiguration(RolleeConnectConfig configuration) Future<void>
This methods sets a configuration state remotely to your account with the state provided.