toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final featureName = this.featureName;
  final featureType = this.featureType;
  return {
    if (featureName != null) 'FeatureName': featureName,
    if (featureType != null) 'FeatureType': featureType.toValue(),
  };
}