version property Null safety

Version version

The version of the sqlite3 library in used.

Implementation

Version get version {
  final libVersion = _bindings.sqlite3_libversion().readString();
  final sourceId = _bindings.sqlite3_sourceid().readString();
  final versionNumber = _bindings.sqlite3_libversion_number();

  return Version._(libVersion, sourceId, versionNumber);
}