createCustomObject function

Future<CubeCustomObject> createCustomObject(
  1. CubeCustomObject customObject
)

Returns created object

customObject - your object for creation. className field is required for this object

Implementation

Future<CubeCustomObject> createCustomObject(CubeCustomObject customObject) {
  return CreateCustomObjectQuery(customObject).perform();
}