sendLockUnlockAction static method
Implementation
static Future<void> sendLockUnlockAction(
Request request, String id, bool lockUnlock) async {
final link = GraphLinkCreator.create(request);
final req = GmakeLockUnlockActionRequest((b) {
b..vars.deviceId = id;
b..vars.lock = lockUnlock;
});
Repository.mutate(link, req.operation, req.vars.toJson());
}