onErrorDocument method Null safety

void onErrorDocument(
  1. String error
)

Implementation

void onErrorDocument(String error);