SMSupportData class

  • SMSupportData contains the basic configuration needed to initialize the support package

Constructors

SMSupportData({required String appName, required SMSupportLocale locale, required String tenantId, required String apiKey, required String secretKey, required String baseUrl, required String socketBaseUrl, CustomerData? customer})
  • Data constructor for SMSupportData with required parameters only
  • const

    Properties

    apiKey String
  • API key for authentication (stored securely)
  • final
    appName String
  • Name of your application
  • final
    baseUrl String
  • Base URL for REST API endpoints
  • final
    customer CustomerData?
  • Optional customer data for auto-login functionality
  • final
    hashCode int
    The hash code for this object.
    no setterinherited
    locale SMSupportLocale
  • Locale of gateway
  • final
    props List<Object?>
    The list of properties that will be used to determine whether two instances are equal.
    no setter
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    secretKey String
  • Secret key for HMAC request signing (stored securely)
  • final
    socketBaseUrl String
  • Base URL for WebSocket connections
  • final
    stringify bool?
    If set to true, the toString method will be overridden to output this instance's props.
    no setterinherited
    tenantId String
  • Tenant ID to fetch tenant-specific configuration
  • final

    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