fromUri static method

Filter fromUri(
  1. Uri uri
)

Implementation

static Filter fromUri(Uri uri) => Filter(uri.queryParametersAll
    .map((k, v) => MapEntry(_regex.firstMatch(k)?.group(1) ?? '', v.last))
  ..removeWhere((k, v) => k.isEmpty));