listObj method
Implementation
Future<List<T>> listObj(T obj, String path) async {
RequestEntity request = await createRequest();
request.obj = obj;
var resultJson = await post(path, request);
return ServiceConfig.shared.decoder.fromJsonAsT<List<T>>(resultJson);
}