Use Model.remoteMethod instead of loopback's fn.
Use Model.remoteMethod instead of loopback's fn.

Rework Todo model to define the remote method `stats` using the new
method `Model.remoteMethod` instead of the deprecated
`loopback.remoteMethod`.

uniconstructor/loopback-example-offline-sync,jeffcressman/loopback-example-offline-sync-react,uniconstructor/loopback-example-offline-sync,jouke/loopback-connector-cordova-sqlite,jeffcressman/loopback-example-offline-sync-react