flutter Error: 'Placemark' isn't a type.
#Geolocator() is deprecated from the package geolocator ^6.1.14
#Flutter new version Flutter 1.22.5, you have to use the geocoding package
#1- Add package in pubspec.yaml file:
dependencies:
geocoding: ^1.0.5
#2 Install it
$ flutter pub get
#3 Import it in Dart code
import 'package:geocoding/geocoding.dart';