setLockWarningInfo static method

void setLockWarningInfo({
  1. Duration? duration,
  2. void callback()?,
})

Sqlite has a dead lock warning feature that will print some text after 10s, you can override the default behavior

Implementation

static void setLockWarningInfo(
    {Duration? duration, void Function()? callback}) {
  utils.setLockWarningInfo(duration: duration!, callback: callback!);
}