toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'account'] = this.account;
    json[r'product'] = this.product;
    json[r'policy'] = this.policy;
    json[r'group'] = this.group;
  if (this.user != null) {
    json[r'user'] = this.user;
  } else {
    json[r'user'] = null;
  }
    json[r'machines'] = this.machines;
  return json;
}