Update xml

This commit is contained in:
Ming Ming 2022-07-08 19:28:02 +08:00
parent a9ab10508e
commit f55f68b593
3 changed files with 12 additions and 4 deletions

View file

@ -84,6 +84,14 @@ extension IterableExtension<T> on Iterable<T> {
}
}
extension IterableFlattenExtension<T> on Iterable<Iterable<T>> {
/// Flattens an [Iterable] of [Iterable] values of type [T] to a [Iterable] of
/// values of type [T].
///
/// This function originated in the xml package
Iterable<T> flatten() => expand((values) => values);
}
class _ComputeAllMessage<T, U> {
const _ComputeAllMessage(this.callback, this.data);

View file

@ -226,7 +226,7 @@ packages:
name: dbus
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.3"
version: "0.7.4"
device_info_plus:
dependency: "direct main"
description:
@ -774,7 +774,7 @@ packages:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "4.4.0"
version: "5.0.0"
platform:
dependency: transitive
description:
@ -1296,7 +1296,7 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "5.3.1"
version: "6.1.0"
yaml:
dependency: transitive
description:

View file

@ -99,7 +99,7 @@ dependencies:
visibility_detector: ^0.3.3
wakelock: ^0.5.2
woozy_search: ^2.0.3
xml: ^5.0.2
xml: ^6.1.0
dev_dependencies:
test: any