query method Null safety

  1. @override
Future<PostgreSQLResult> query(
  1. String fmtString,
  2. {Map<String, dynamic>? substitutionValues,
  3. bool? allowReuse,
  4. int? timeoutInSeconds}
)
override

Implementation

@override
Future<PostgreSQLResult> query(String fmtString,
    {Map<String, dynamic>? substitutionValues,
    bool? allowReuse,
    int? timeoutInSeconds}) {
  idleTs = DateTime.now().millisecondsSinceEpoch;
  return connection.query(fmtString,
      substitutionValues: substitutionValues,
      timeoutInSeconds: timeoutInSeconds);
}