toJson method
Map representation of this VroomVehicleStep having keys 'type', 'id', 'service_at', 'service_after', and 'service_before'.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'type': vroomVehicleStepTypeToString(type),
'id': id,
'service_at': serviceAt,
'service_after': serviceAfter,
'service_before': serviceBefore,
};