location property Null safety

Future<Result<Location, LocationError>> location

Reflects the current location of the user or an outage reason

Implementation

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