resumeControl method
A method to either resume safe and therefore blocked or stopped control transmissions to a previously set internet address on the platform.
Returns true
if the control is resumed, otherwise false
.
Implementation
@override
Future<bool> resumeControl(Enum control, [bool safe = true]) {
return methodChannel.invokeMethod(
'resume_control',
<String, dynamic>{
'control': control.name,
'safe': safe,
},
).then<bool>((value) => value);
}