UserService constructor
UserService(
- dynamic baseUrl,
- dynamic headers,
- dynamic options
Implementation
UserService(baseUrl, headers, options) : baseUrl = '$baseUrl/api/m/v1/users' {
baseOptions = options;
headerParams = headers;
customers = CustomerService('${this.baseUrl}/customers', headers, options);
servicer = ServicerService('${this.baseUrl}/servicers', headers, options);
baseUrlRoot = baseUrl;
}