onError abstract method

void onError(
  1. Exception exception
)

Invoked when error occurs in transport between dart and platform.

Implementation

void onError(Exception exception);