asObject<D> function
Implementation
D? asObject<D>(NUIEntMapper<D> entity, dynamic value){
if(value == null) return null;
if(value is Map){
return entity.toEntity(value as Map<String, dynamic>);
}
return entity.toEntity(jsonDecode(value));
}