contentType property

String contentType

The content type of the attachment.

Implementation

String get contentType {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Attachment_getContentType(_handle, errorHandler);
  });
  return stringHandle.toDartString();
}