LogFunction typedef
LogFunction =
dynamic Function(Log)
Log events on failure of insert/update operation Example:
@SqfEntityBuilder(myDbModel)
const myDbModel = SqfEntityModel(
...
logFunction: getLogFunction,
);
getLogFunction(Log log) {
// Report the error to the server here
}
Implementation
typedef LogFunction = Function(Log);