LocationError constructor

LocationError(
  1. PlatformException e
)

Implementation

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