toJson method Null safety

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, Object>{
      'lines': _lines,
      'currentLine': _currentLine,
      'returnStack': _returnStack,
      'returnStackPos': _returnStackPos
    };