Error constructor

Error(
  1. PlatformException e
)

Implementation

Error(PlatformException e) {
  code = int.parse(e.code);
  message = e.message ?? "";
}