Data.fromJson constructor

Data.fromJson(
  1. dynamic json
)

Implementation

Data.fromJson(dynamic json) {
  _id = json['id'];
  _flatType = json['flat_type'];
  _category = json['category'];
}