addIcon method

void addIcon(
  1. Map<String, Uint8List> icon
)

Implementation

void addIcon(Map<String, Uint8List> icon) {
  String decodedType = icon.keys.toList()[0];
  _checkValidIconType(decodedType);
  _iconRecords.add(
      MimeRecord(decodedType: decodedType, payload: icon.values.toList()[0]));
}