findByNamespace method

Iterable<WebDavStdResourceProp> findByNamespace(
  1. String? namespace, {
  2. String? name,
})

Implementation

Iterable<WebDavStdResourceProp> findByNamespace(String? namespace,
        {String? name}) =>
    name != null
        ? [_props[(name: name, ns: namespace?.toLowerCase())]].whereNotNull()
        : _props.entries
            .where((e) => e.key.ns == namespace?.toLowerCase())
            .map((e) => e.value);