updateForceRemoteControl function

Future<void> updateForceRemoteControl(
  1. Configuration config
)

Implementation

Future<void> updateForceRemoteControl(Configuration config) async {
  if (config.forceRemoteControl != null) {
    await updateFile(
      BUILD_VARIABLES_FILE,
      Shell(
        FORCE_REMOTE_CONTROL,
        config.forceRemoteControl!.toString(),
      ),
      operation: 'Force Remote Control',
      expectedMatchCount: 1,
    );
  }
}