lerp static method
Linearly interpolating between two MapLatLng.
The arguments must not be null.
Implementation
static MapLatLng? lerp(MapLatLng? a, MapLatLng? b, double t) {
if (a == null || b == null) {
return null;
}
return MapLatLng(a.latitude + (b.latitude - a.latitude) * t,
a.longitude + (b.longitude - a.longitude) * t);
}