utils/cast library

Functions

safeCast<T extends Object>(Object? value) → T?
Returns the value if it is the same type as T, otherwise null.