toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final values = this.values;
  final dimensionType = this.dimensionType;
  return {
    'Values': values,
    if (dimensionType != null) 'DimensionType': dimensionType.toValue(),
  };
}