insertList method Null safety

void insertList(
  1. List data
)

Implementation

void insertList(List data) {
  for (final value in data) {
    var ctx = Context(this._dll_handle, nullptr);
    ctx.placeValues(value);
    this._pushBack(ctx);
    ctx.dispose();
  }
}