localPath property

List<LocalRepoPath> localPath

Implementation

List<LocalRepoPath> get localPath {
  return paths.where((element) => element.ids.localId != null).map((e) {
    if (e.ids.localId == null) {
      Logger.error(StackTrace.current, 'Path ${e.path} has a null local id');
      throw ArgumentError('Path ${e.path} has a null id');
    }
    return LocalRepoPath(path: e.path, id: e.ids.localId);
  }).toList();
}