connection property

  1. @Deprecated('Use newConnection instead, and store the result')
DatabaseConnection connection
latefinal

A database connection with a prepared schema.

You can connect your database classes to this as a starting point for migration tests.

Implementation

@Deprecated('Use newConnection instead, and store the result')
late final DatabaseConnection connection = _createConnection();