Method
serialize(_:to:)
Serialise a Resource to an XMI file
func serialize(_ resource: Resource, to url: URL) async throws
Parameters
resource-
The Resource containing objects to serialise
url-
The URL where the XMI file should be written