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((_) => _.split(',')).toList()))
..removeWhere((k, v) => k.isEmpty));