unitTypeFromJson function

UnitType unitTypeFromJson(
  1. String str
)

id : "1" name : "1 Bhk"

Implementation

UnitType unitTypeFromJson(String str) => UnitType.fromJson(json.decode(str));