caseyryan/flutter_multi_formatter

Small request to remove print statement

Closed this issue · 1 comments

Can I request this print statement be removed or wrapped around a flag of sorts? Perhaps convert it to debugPrint? I can submit a PR but would need to know if you would want it commented out, wrapped, or removed entirely if so. If given the ok to PR, let me know if there's another example to model after or any other suggestions.

Replaced it with this

if (currentMask != newMask && kDebugMode) {
      print(
        'Phone mask for country "${countryData['country']}"' +
            ' was replaced from $currentMask to $newMask',
      );
      countryData['phoneMask'] = newMask;
    }

It will be available in the next version soon