latitude method
Returns the double latitude with an optional decimal accuracy
Implementation
double latitude({int? decimalAccuracy}) {
if (decimalAccuracy == null)
return _latitude;
else
return double.parse(_latitude.toStringAsFixed(decimalAccuracy));
}