onErrorDocumentInsert method Null safety

void onErrorDocumentInsert(
  1. String error
)

Implementation

void onErrorDocumentInsert(String error);