round method

LatLng round(
  1. {int decimals = 6}
)

Implementation

LatLng round({ final int decimals: 6 })
    => new LatLng(_round(latitude,decimals: decimals), _round(longitude,decimals: decimals));