getConnection method Null safety

dynamic getConnection()