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 9ee6475037abf08d913fb9eb1cd16707d4de7020..675530e5dd71741e790e1975413d140e2af5cd8a 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart |
@@ -27,6 +27,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); |