toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final backgroundColor = this.backgroundColor;
final displayName = this.displayName;
final icon = this.icon;
final id = this.id;
final shortDisplayName = this.shortDisplayName;
final textColor = this.textColor;
final url = this.url;
final vehicleIcon = this.vehicleIcon;
final vehicleType = this.vehicleType;
return {
'backgroundColor': ?backgroundColor,
'displayName': ?displayName,
'icon': ?icon,
'id': ?id,
'shortDisplayName': ?shortDisplayName,
'textColor': ?textColor,
'url': ?url,
'vehicleIcon': ?vehicleIcon,
'vehicleType': ?vehicleType,
};
}