categoryFromJson function

Category categoryFromJson(
  1. String str
)

id : "1" name : "Residential"

Implementation

Category categoryFromJson(String str) => Category.fromJson(json.decode(str));