toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"vehicleViolation": vehicleViolation?.toMap(),
"drivingLicence": drivingLicence?.toMap(),
"licencePlate": licencePlate?.toMap(),
"freewayTolls": freewayTolls?.toMap(),
};