CategoricalParameterRangeSpecification.fromJson constructor

CategoricalParameterRangeSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CategoricalParameterRangeSpecification.fromJson(
    Map<String, dynamic> json) {
  return CategoricalParameterRangeSpecification(
    values: (json['Values'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}