icon property

Map<String?, Uint8List?>? get icon

Implementation

Map<String?, Uint8List?>? get icon {
  if (iconRecord != null) {
    return {iconRecord!.decodedType: iconRecord!.payload};
  } else {
    return null;
  }
}
set icon (Map<String?, Uint8List?>? icon)

Implementation

set icon(Map<String?, Uint8List?>? icon) {
  String? decodedType = icon!.keys.toList()[0];
  _checkValidIconType(decodedType!);
  iconRecord = new MimeRecord(
      decodedType: decodedType, payload: icon.values.toList()[0]);
}