isLng static method

bool isLng(
  1. double lng
)

Returns if given is longtitude is legal value between -180.0 and +180.0

Implementation

static bool isLng(double lng) => -180.0 <= lng && lng <= 180.0;