getFillLightMode method

Future<Map<String, dynamic>> getFillLightMode(
  1. String deviceSerial
)

Implementation

Future<Map<String, dynamic>> getFillLightMode(String deviceSerial) async {
  // V3 API - GET request, params in header for accessToken, deviceSerial
  // Assuming _client.post can handle GET by passing empty body or client needs a get method
  // For now, structuring as a POST to fit existing client, this may need EzvizClient update
  return _client.post('/api/v3/device/fillLight/mode/get', {
    'deviceSerial': deviceSerial,
    // accessToken is handled by the client
  });
}