CategoryItems.fromJson constructor

CategoryItems.fromJson(
  1. Map json_
)

Implementation

CategoryItems.fromJson(core.Map json_)
    : this(
        badgeUrl: json_.containsKey('badgeUrl')
            ? json_['badgeUrl'] as core.String
            : null,
        categoryId: json_.containsKey('categoryId')
            ? json_['categoryId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );