ImageContent constructor
ImageContent({
- required String data,
- required String mimeType,
- Annotations? annotations,
- Meta? meta,
Implementation
factory ImageContent({
required String data,
required String mimeType,
Annotations? annotations,
Meta? meta,
}) => ImageContent.fromMap({
'data': data,
'mimeType': mimeType,
'type': expectedType,
if (annotations != null) 'annotations': annotations,
if (meta != null) '_meta': meta,
});