initializeDefaultPersisters function

void initializeDefaultPersisters()

Function that creates and registers the default persisters for the built-in container types. Call it from the calling code's main() function for example, unless you want to do your own persistence registration from scratch.

Implementation

void initializeDefaultPersisters() {
  Persistence.get()
    ..register(PGpcCompactGpsPoint())
    ..register(PGpcCompactGpsMeasurement());
}