Map<String, dynamic> toMap() { return <String, dynamic>{ 'elementIdentifier': elementIdentifier, 'elementType': elementType, }; }