$Category.fromJson constructor

$Category.fromJson(
  1. Map json_
)

Implementation

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