getAndCastSafe<T> method
Implementation
T? getAndCastSafe<T>(final String key) {
try {
return this[key] as T;
} catch (_) {}
return null;
}
T? getAndCastSafe<T>(final String key) {
try {
return this[key] as T;
} catch (_) {}
return null;
}