validate method Null safety

  1. @override
bool validate()

Implementation

@override
bool validate() => super.validate() && parent is ShapePaint;