fromUri static method

Page fromUri(
  1. Uri uri
)

Implementation

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