Map<String, dynamic> toMap() { return <String, dynamic>{ 'acceleratorType': ?acceleratorType, 'amount': ?amount, 'type': ?type, }; }