find method

Iterable<WebDavStdResourceProp> find(
  1. String name, {
  2. String? namespace,
  3. bool emptyNamespace = true,
})

Implementation

Iterable<WebDavStdResourceProp> find(String name,
        {String? namespace, bool emptyNamespace = true}) =>
    (namespace != null || emptyNamespace)
        ? [_props[(name: name, ns: namespace?.toLowerCase())]].whereNotNull()
        : props.where((e) => e.name == name);