AuthenticationService constructor
AuthenticationService(
- dynamic baseUrl,
- dynamic headers,
- 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;
}