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,
      );