addToLogs method

void addToLogs(
  1. String s
)

Implementation

void addToLogs(String s) {
  setState(() {
    logs += '$s\n';
  });
}