removeOwner method

Future<void> removeOwner(
  1. String rootPath
)

Implementation

Future<void> removeOwner(String rootPath) async {
  final ownerFile = io.File(
    p.join(packageDir(rootPath), "owners", "$_ownerPid.owner"),
  );
  if (await ownerFile.exists()) {
    await ownerFile.delete();
  }
}