insertAt method

ListField insertAt(
  1. int index,
  2. dynamic element
)

Implementation

ListField insertAt(int index, dynamic element) {
  ListField result = ListField();
  result.queryBuilder = () => 'json_array_insert(${buildQuery()},?,?)';
  result.parametersBuilder = () => [...getParameters(), index, element];
  return result;
}