change method

History change({
  1. String? resultType,
  2. List<String>? message,
  3. String? classLocation,
  4. String? functionLocation,
  5. Map<String, dynamic>? monitor,
  6. Map<String, dynamic>? debug,
  7. List<History>? historyList,
})

for test.

Implementation

History change({
    String? resultType,
    List<String>? message,
    String? classLocation,
    String? functionLocation,
    Map<String, dynamic>? monitor,
    Map<String, dynamic>? debug,
    List<History>? historyList,
}) {
    return History(
        resultType ?? this.resultType,
        message ?? this.message,
        classLocation ?? this.classLocation,
        functionLocation ?? this.functionLocation,
        monitor ?? this._monitor,
        debug ?? this._debug,
        historyList ?? this._historyList,
    );
}