Map<String, dynamic> toMap() { return <String, dynamic>{ 'protectionId': ?protectionId, 'resourceArn': ?resourceArn, }; }