trimNulls method

String trimNulls()

Implementation

String trimNulls() => replaceAll(RegExp(r'^\u0000+|\u0000+$'), '');