isValid property

  1. @override
bool get isValid
override

Whether the value in the UI is valid.

Do not try to access value if this is false.

Implementation

@override
bool get isValid => type == GpsType.decimal
	? (latDecimal.isValid && longDecimal.isValid)
	: (latDegrees.isValid && longDegrees.isValid && latMinutes.isValid && longMinutes.isValid && latSeconds.isValid && longSeconds.isValid);