fromUri static method

Sort fromUri(
  1. Uri uri
)

Implementation

static Sort fromUri(Uri uri) => Sort(
    (uri.queryParametersAll['sort']?.expand((it) => it.split(',')) ?? []));