DeviceProvider constructor

DeviceProvider(
  1. Request request,
  2. String deviceId, {
  3. GetDeviceDetailsMethod getDetails = sdk.DevicesRepository.getDeviceDetails,
})

Implementation

DeviceProvider(sdk.Request request, String deviceId,
    {GetDeviceDetailsMethod getDetails =
        sdk.DevicesRepository.getDeviceDetails}) {
  this._deviceId = deviceId;
  this._request = request;
  fetchData(getDetails: getDetails);
}