getBuffer method Null safety
Implementation
List<String> getBuffer() {
history = [];
for (var element in memory.buffer) {
{
history.add(element.lines.first.toString());
}
}
return history;
}
List<String> getBuffer() {
history = [];
for (var element in memory.buffer) {
{
history.add(element.lines.first.toString());
}
}
return history;
}