toString method Null safety

  1. @override
String toString()
override

Returns a printable string

Implementation

@override
String toString() => '[0] ${getRow(0)}\n[1] ${getRow(1)}\n';