operator + method

Parameters operator +(
  1. Parameters other
)

merges the value of two instances of Parameters classes and returns a new instance containing the merged values.

Implementation

Parameters operator +(Parameters other) =>
    Parameters({..._params, ...other._params});