location property

Reflects the current location of the user or an outage reason.

Implementation

static Future<Result<Location, LocationError>> get location async {
  return _invokeSdkMethod<Map<Object?, Object?>>(SdkMethod.getLocation)
      .then((value) {
    return deserializeLocationResult(value);
  });
}