Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  configuration = json['configuration'] != null
      ? new Configuration.fromJson(json['configuration'])
      : null;
  state = json['state'];
  enable = json['enable'];
  sId = json['_id'];
  clientId = json['clientId'];
  name = json['name'];
  createdAt = json['createdAt'];
  updatedAt = json['updatedAt'];
  iV = json['__v'];
}