Skip to content


Load the model package

import 'package:mailslurp/api.dart';


Name Type Description Notes
base64FileContents String Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as text/html you can read the contents directly by converting it to string using utf-8 encoding.
contentType String Content type of attachment. Examples are image/png, application/msword, text/csv etc.
sizeBytes int Size in bytes of attachment content

[Back to Model list] [Back to API list] [Back to ]