toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.fingerprint != null) {
    json[r'fingerprint'] = this.fingerprint;
  } else {
    json[r'fingerprint'] = null;
  }
  if (this.holder != null) {
    json[r'holder'] = this.holder;
  } else {
    json[r'holder'] = null;
  }
    json[r'product'] = this.product;
  if (this.release != null) {
    json[r'release'] = this.release;
  } else {
    json[r'release'] = null;
  }
  if (this.signals != null) {
    json[r'signals'] = this.signals;
  } else {
    json[r'signals'] = null;
  }
  if (this.ttlSeconds != null) {
    json[r'ttl_seconds'] = this.ttlSeconds;
  } else {
    json[r'ttl_seconds'] = null;
  }
  return json;
}