toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['href'] = this.href;
  data['name'] = this.name;
  data['role'] = this.role;
  data['@baseType'] = this.baseType;
  data['@schemaLocation'] = this.schemaLocation;
  data['@type'] = this.type;
  data['@referredType'] = this.referredType;
  return data;
}