updateParameter static method

void updateParameter(
  1. Map<String, dynamic> updatedParameters,
  2. Map<String, dynamic> defaultConfiguration
)

Implementation

static void updateParameter(Map<String, dynamic> updatedParameters,
    Map<String, dynamic> defaultConfiguration) {
  updatedParameters.forEach((key, value) {
    if (value is Map) {
      var map = value as Map<String, dynamic>;
      updateParameter(map, defaultConfiguration[key]);
    } else {
      defaultConfiguration[key] = value;
    }
  });
}