getQueryParam method

dynamic getQueryParam(
  1. String paramName
)

Returns the value of the paramName key in the queryParams map

Implementation

dynamic getQueryParam(String paramName) {
  return queryParams.containsKey(paramName) &&
          queryParams[paramName]!.isNotEmpty
      ? queryParams[paramName]
      : null;
}