save method

int save(
  1. T t
)

Saves new object in repository

Implementation

int save(T t) {
  return _save(prefs, t);
}