toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'attachmentsSources': ?pulumi.Input.mapOptionalInputValue<List<DocumentAttachmentsSource>, List<Map<String, dynamic>>>(attachmentsSources, (value) => pulumi.Input.encodeList<DocumentAttachmentsSource, Map<String, dynamic>>(value, (value) => value.toMap())),
'content': content,
'documentFormat': ?documentFormat,
'documentType': documentType,
'name': ?name,
'permissions': ?permissions,
'region': ?region,
'tags': ?tags,
'targetType': ?targetType,
'versionName': ?versionName,
};
}