put method

Future<List<T>?> put({
  1. Map<String, dynamic>? parameters,
  2. List<T>? dataList,
})

Puts dataList using parameters.

Implementation

Future<List<T>?> put(
    {Map<String, dynamic>? parameters, List<T>? dataList}) async {
  var payload = transformFromList(dataList);
  var result = await putImpl(parameters, payload);
  return transformToList<T>(result);
}