BrightnessProvider constructor

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

Implementation

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