getIntParam method

int? getIntParam(
  1. String key
)

Get the value of a paramter by key as integer

Implementation

int? getIntParam(String key) {
  var val = getParam(key);
  return val == null ? null : int.tryParse(val);
}