getIf<T> static method
Implementation
static T? getIf<T>({String? key}) {
return contains<T>(key: key) ? get<T>(key: key) : null;
}
static T? getIf<T>({String? key}) {
return contains<T>(key: key) ? get<T>(key: key) : null;
}