remove pubspec.lock from git
fix warning spotted by analyzer