isValid property

bool get isValid

Whether the diagram parsed successfully.

Implementation

bool get isValid => diagram != null;