Serializes the properties to a JSON object.
@override Map<String, dynamic> toJson() => _$SwitchPropertiesToJson(this);