addParameter method
Implementation
void addParameter({required String name, dynamic value}) {
final trimmedNamed = name.trim();
if (_name.trim().isEmpty) {
logging.severe('Parameter names may not contain whitespace');
throw EventException();
}
if (trimmedNamed.isEmpty) {
logging.severe('Parameter names may not be empty');
throw EventException();
}
_parameters[trimmedNamed] = value ?? parameterNullValue;
}