AuthenticationService constructor

AuthenticationService(
  1. dynamic baseUrl,
  2. dynamic headers,
  3. dynamic options
)

Implementation

AuthenticationService(baseUrl, headers, options)
    : baseUrl = '$baseUrl/api/m/v1/auths' {
  baseOptions = options;
  headerParams = headers;
  customers = CustomerService('${this.baseUrl}/customers', headers, options);
  servicer = ServicerService('${this.baseUrl}/servicer', headers, options);
  baseUrlRoot = baseUrl;
}