cast<T> method

T cast<T>()

Cast the object to the type specified

Implementation

T cast<T>() => this as T;