AI-generated Key Takeaways
- 
          GMSDatasetFeaturerepresents a feature from a dataset and always has a feature type ofGMSFeatureTypeDataset.
- 
          Each GMSDatasetFeaturepossesses adatasetIDto indicate its belonging anddatasetAttributesfor storing associated key-value data.
- 
          Although an initializer initWithDatasetID:datasetAttributes:is provided, it's strictly for testing; the SDK handles instance creation in production.
GMSDatasetFeature
@interface GMSDatasetFeature : NSObject <GMSFeature>An interface representing a feature from a dataset.
The featureType of a DatasetFeature will always be GMSFeatureTypeDataset.
- 
                  
                  Dataset id of the dataset that this feature belongs to. DeclarationSwift var datasetID: String { get }Objective-C @property (nonatomic, readonly) NSString *_Nonnull datasetID;
- 
                  
                  Key-value mapping of the attributes associated with the feature in the dataset. DeclarationSwift var datasetAttributes: [String : String] { get }Objective-C @property (nonatomic, readonly) NSDictionary<NSString *, NSString *> *_Nonnull datasetAttributes;
- 
                  
                  Create a dataset feature instance for testing uses. This method should be used for testing purposes only; GMSDatasetFeatureinstances should only be created by the SDK in production code.DeclarationSwift init(datasetID: String, datasetAttributes: [String : String] = [:])Objective-C - (nonnull instancetype)initWithDatasetID:(nonnull NSString *)datasetID datasetAttributes: (nonnull NSDictionary<NSString *, NSString *> *) datasetAttributes;
- 
                  
                  Unavailable DeclarationObjective-C - (instancetype)init NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE;