init static method

SpaSdk init({
  1. required String counterId,
  2. required String uriServiceSpa,
})

Singleton init of the SpaSdk counterId is the counter id which is required to send the event uriServiceSpa is the uri of the server where the event will be sent

Implementation

static SpaSdk init({required String counterId, required String uriServiceSpa,}) => _instance = SpaSdk._(counterId: counterId, uriServiceSpa: uriServiceSpa);