SmRoutes constructor

const SmRoutes({
  1. required num distance,
  2. required num duration,
  3. required num weight,
  4. required String geometry,
})

Implementation

const SmRoutes({
  required this.distance,
  required this.duration,
  required this.weight,
  required this.geometry
});