CategoryCount.fromJson constructor

CategoryCount.fromJson(
  1. Map json_
)

Implementation

CategoryCount.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        count:
            json_.containsKey('count') ? json_['count'] as core.String : null,
      );