convert method Null safety

  1. @override
String convert(
  1. Iterable<int> input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
String convert(Iterable<int> input) {
  final result = StringBuffer();
  for (int part in input) {
    result.write('${part < 16 ? '0' : ''}${part.toRadixString(16)}');
  }
  return result.toString();
}