getValue<R> method

List<R>? getValue<R>(
  1. String key,
  2. R action(
    1. XMLNode
    )
)

Implementation

List<R>? getValue<R>(String key, R Function(XMLNode) action) => this[key]
    ?.expand((item) => (item as XMLChildren).body)
    .map(action)
    .toList();