tryCast<T> function
T?
tryCast<T>(
- dynamic object
Implementation
T? tryCast<T>(dynamic object) => object is T ? object : null;
T? tryCast<T>(dynamic object) => object is T ? object : null;