convert method

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

Converts input and returns the result of the conversion.

Implementation

@override
List<int> convert(String input) {
  final result = decode(input);
  if (result.isEmpty) {
    throw NoArmorBlockFoundException._(input);
  }
  return result.first;
}