createEvent function

Future<List<CubeEvent>> createEvent(
  1. CubeEvent event
)

event - new event to creation. Use class-helper CreateEventParams] to simple creation of new instance of event

Implementation

Future<List<CubeEvent>> createEvent(CubeEvent event) {
  return CreateEventQuery(event).perform();
}