Map<String, dynamic> toMap() { return <String, dynamic>{ 'eventType': eventType, 'functionUri': functionUri, 'updateTime': ?updateTime, }; }