getObj<T> static method
get obj.
Implementation
static T getObj<T>(String key, T Function(Map<String, dynamic> v) f,
{required T defValue}) {
Map<String, dynamic>? map = getObject(key);
return map.isEmpty ? defValue : f(map);
}