remotePath property

List<RemoteRepoPath> get remotePath

Implementation

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