save method

Future<bool> save({
  1. String? collectionId,
})

Implementation

Future<bool> save({String? collectionId}) async {
  return ControllerManager.getCollectionController(
          collectionId ?? defaultCollection)
      .saveModel(this);
}