as<T> method

T? as<T>()

Implementation

T? as<T>() => this is T ? this as T : null;