core.Map<core.String, core.dynamic> toJson() => { if (acceleratorType != null) 'acceleratorType': acceleratorType!, if (amount != null) 'amount': amount!, if (type != null) 'type': type!, };