extractCustomParameters static method

Map<String, String> extractCustomParameters(
  1. Uri url
)

Implementation

static Map<String, String> extractCustomParameters(Uri url) {
  final customParams = <String, String>{};
  final params = url.queryParameters;

  for (final entry in params.entries) {
    if (!isReservedParameter(entry.key)) {
      customParams[entry.key] = entry.value;
    }
  }

  return customParams;
}