CategoricalValue.fromJson constructor

CategoricalValue.fromJson(
  1. Map json_
)

Implementation

CategoricalValue.fromJson(core.Map json_)
    : this(
        categoryCounts: json_.containsKey('categoryCounts')
            ? (json_['categoryCounts'] as core.List)
                .map((value) => CategoryCount.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );