Converts this semantic attribute and its value to a MapEntry.
MapEntry
MapEntry<String, Object> toMapEntry(Object value) => MapEntry(key, value);