upsert method

Future<bool> upsert()

Implementation

Future<bool> upsert() async {
  var exception = await Database.upsert(tableName, _dbKey, _toMap());
  return (exception == null);
}