updateBarriers method

Future<bool> updateBarriers(
  1. {@required AwarenessBarrier barrier,
  2. bool autoRemove}
)

Implementation

static Future<bool> updateBarriers(
    {@required AwarenessBarrier barrier, bool autoRemove}) async {
  return _barrierChannel.invokeMethod(Method.UpdateBarrier, {
    Param.request: barrier.toMap(),
    Param.autoRemove: autoRemove,
  });
}