toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (categoricalFeatures != null)
        'categoricalFeatures': categoricalFeatures!
            .map((key, item) => core.MapEntry(key, item.toJson())),
      if (numericalFeatures != null)
        'numericalFeatures': numericalFeatures!
            .map((key, item) => core.MapEntry(key, item.toJson())),
    };