iconRecord property

MimeRecord? get iconRecord

Implementation

MimeRecord? get iconRecord {
  if (_iconRecords.length >= 1) {
    return _iconRecords[0];
  } else {
    return null;
  }
}
set iconRecord (MimeRecord? record)

Implementation

set iconRecord(MimeRecord? record) {
  _checkValidIconType(record!.decodedType!);
  if (_iconRecords.length >= 1) {
    _iconRecords[0] = record;
  } else {
    _iconRecords.add(record);
  }
}