optZ property

  1. @override
num? optZ
override

The z coordinate value optionally. Returns null if not available.

You can also use is3D to check whether z coordinate is available.

For geographic coordinates z represents elevation or altitude.

Implementation

@override
num? get optZ => z;