findObjectOfType<T> method
Null safety
Used to find an object of type T
If there are more objects of type T
, a StateError is thrown
Implementation
T findObjectOfType<T>();
Used to find an object of type T
If there are more objects of type T
, a StateError is thrown
T findObjectOfType<T>();