The class must include a
binary attribute named
File) – the
Fileinstance to be uploaded.
attributes(Object) – Optional custom attributes and their values of the new CMS object.
ArgumentError– If the class has no
fileis not an instance of
Promise resolving to the created