fromUri static method
Extracts the requested fields from the uri
.
Implementation
static Fields fromUri(Uri uri) =>
Fields(uri.queryParametersAll.map((k, v) => MapEntry(
_regex.firstMatch(k)?.group(1) ?? '',
v.expand((it) => it.split(',')).toList()))
..removeWhere((k, v) => k.isEmpty));