Index: mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
index e5cec0784447231995c8aa007628b98f481d3920..d18331ce8bcc43a0affcc7977834808f1970f0d4 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
@@ -28,6 +28,22 @@ class Location extends bindings.Struct { |
Location() : super(kVersions.last.size); |
+ Location.init( |
+ int this.time, |
+ bool this.hasElapsedRealTimeNanos, |
+ bool this.hasAltitude, |
+ bool this.hasSpeed, |
+ bool this.hasBearing, |
+ bool this.hasAccuracy, |
+ double this.speed, |
+ int this.elapsedRealTimeNanos, |
+ double this.latitude, |
+ double this.longitude, |
+ double this.altitude, |
+ double this.bearing, |
+ double this.accuracy |
+ ) : super(kVersions.last.size); |
+ |
static Location deserialize(bindings.Message message) { |
var decoder = new bindings.Decoder(message); |
var result = decode(decoder); |