UserService constructor

UserService(
  1. dynamic baseUrl,
  2. dynamic headers,
  3. 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;
}