Dart SDK: >= 2.0.0 • (Linter v0.1.31)Since info is static, may be stale
AVOID returning this from methods just to enable a fluent interface.
this from a method is redundant; Dart has a cascade operator which
allows method chaining universally.
this is allowed for:
var buffer = StringBuffer() .write('one') .write('two') .write('three');
var buffer = StringBuffer() ..write('one') ..write('two') ..write('three');
To enable the
avoid_returning_this under linter > rules in your
linter: rules: - avoid_returning_this