setParams method

void setParams(
  1. String fieldName,
  2. dynamic value
)

Implementation

void setParams(String fieldName, dynamic value) {
  paramsToSet ??= <String, dynamic>{};
  paramsToSet?[fieldName] = value;
}