maximumSize property
int?
get
maximumSize
The maximum number of logs to store or null
for unlimited storage.
If more logs arrive, the oldest ones (based on their AliceLog.timestamp) will be removed.
Implementation
int? get maximumSize => _maximumSize;
set
maximumSize
(int? value)
Implementation
set maximumSize(int? value) {
_maximumSize = maximumSize;
if (value != null && logs.length > value) {
_logs.value = logs.sublist(logs.length - value, logs.length);
}
}