Features.fromJson constructor

Features.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Features.fromJson(Map<String, dynamic> json) {
  if (json["id"] is int) {
    id = json["id"];
  }
  if (json["featureRef"] is String) {
    featureRef = json["featureRef"];
  }
  if (json["label"] is String) {
    label = json["label"];
  }
  if (json["uniqueIdentifier"] is String) {
    uniqueIdentifier = json["uniqueIdentifier"];
  }
}