toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.product != null) {
    json[r'product'] = this.product;
  } else {
    json[r'product'] = null;
  }
  if (this.policy != null) {
    json[r'policy'] = this.policy;
  } else {
    json[r'policy'] = null;
  }
    json[r'fingerprints'] = this.fingerprints;
  if (this.fingerprint != null) {
    json[r'fingerprint'] = this.fingerprint;
  } else {
    json[r'fingerprint'] = null;
  }
  if (this.machine != null) {
    json[r'machine'] = this.machine;
  } else {
    json[r'machine'] = null;
  }
  if (this.user != null) {
    json[r'user'] = this.user;
  } else {
    json[r'user'] = null;
  }
    json[r'entitlements'] = this.entitlements;
  if (this.checksum != null) {
    json[r'checksum'] = this.checksum;
  } else {
    json[r'checksum'] = null;
  }
  if (this.version != null) {
    json[r'version'] = this.version;
  } else {
    json[r'version'] = null;
  }
  return json;
}