byPath method

UDocRecord? byPath(
  1. String path
)

Implementation

UDocRecord? byPath(String path) {
  for (final UDocRecord record in _records) {
    if (record.path == path) return record;
  }
  return null;
}