change method
History
change({
- Type? wrapped,
- List<
String> ? message, - Type? classLocation,
- String? functionLocation,
- Map<
String, dynamic> ? monitor, - Map<
String, dynamic> ? debug, - Iterable<
Log> ? histories,
override
Implementation
@override
History change({
Type? wrapped,
List<String>? message,
Type? classLocation,
String? functionLocation,
Map<String, dynamic>? monitor,
Map<String, dynamic>? debug,
Iterable<Log>? histories,
}) {
return History._(
wrapped ?? this.wrapped,
message ?? this.message,
classLocation == null ? this.classLocation : classLocation.toString() ,
functionLocation ?? this.functionLocation,
monitor ?? this.monitor,
debug ?? this.debug,
histories == null ? this.historyList : HistoryList.fromLogs(histories),
);
}