handleError static method

dynamic handleError(
  1. dynamic e
)

Implementation

static handleError(e) {
  Map e1 = jsObjectToMap(e);
  throw PlatformException(
      code: e1['code'].toString(), message: e1['message']);
}