newVector method Null safety

  1. @override
Vector3 newVector()
override

Create a new instance of T.

Implementation

@override
Vector3 newVector() => Vector3.zero();