avoid_debug_print_in_release
An avoid_debug_print_in_release
rule which forbids calling or referencing
debugPrint function from flutter/foundation in release mode.
See more here: https://github.com/flutter/flutter/issues/147141
Example
BAD:
debugPrint(''); // LINT
var ref = debugPrint; // LINT
var ref2;
ref2 = debugPrint; // LINT
GOOD:
if (!kReleaseMode) {
debugPrint('');
}