create method
Creates a new object and saves it online
Prefer using save over create
Implementation
@override
Future<ParseResponse> create({
bool allowCustomObjectId = false,
dynamic context,
}) async {
final bool isCurrent = await ParseInstallation.isCurrent(this);
if (isCurrent) {
await _updateInstallation();
}
final ParseResponse parseResponse = await _create(
allowCustomObjectId: allowCustomObjectId,
);
if (parseResponse.success && isCurrent) {
clearUnsavedChanges();
await saveInStorage(keyParseStoreInstallation);
}
return parseResponse;
}