Ewelink constructor
Ewelink({})
Implementation
Ewelink({
this.email,
this.password,
this.region = 'us',
this.credentials,
this.phoneNumber,
this.arpTable,
this.devicesCache,
}) {
if (!checkLoginParameters()) {
throw new EwelinkInvalidCredentials();
}
_service = EwelinkService(
appId: appId,
appSecret: appSecret,
region: this.region,
credentials: this.credentials);
}