toString method Null safety

  1. @override
String toString()
override

Alias for statement

Implementation

@override
String toString() => statement ?? '';