toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.configuration != null) {
    data['configuration'] = this.configuration!.toJson();
  }
  data['state'] = this.state;
  data['enable'] = this.enable;
  data['_id'] = this.sId;
  data['clientId'] = this.clientId;
  data['name'] = this.name;
  data['createdAt'] = this.createdAt;
  data['updatedAt'] = this.updatedAt;
  data['__v'] = this.iV;
  return data;
}