FiveStarClient class
FiveStar Support Client
Simplified client for interacting with the FiveStar Support API. Customer IDs are now generated server-side for improved security.
Constructors
- FiveStarClient(FiveStarClientConfig config)
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
-
generateCustomerId(
) → Future< GenerateCustomerIdResult> - Generate a new customer ID from the server.
-
getPublicUrl(
[String? locale]) → String - Get a public feedback page URL for this client.
-
getResponseTypes(
) → Future< List< ResponseType> > - Get all available response types for this client.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerCustomer(
String customerId, [RegisterCustomerOptions? options]) → Future< RegisterCustomerResult> - Register a customer ID for this client.
-
submitResponse(
SubmitResponseOptions options) → Future< SubmitResponseResult> - Submit a new response/feedback on behalf of a customer.
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyCustomer(
String customerId) → Future< VerifyCustomerResult> - Check if a customer ID is valid and registered for this client.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited