toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.entitlements != null) {
    json[r'entitlements'] = this.entitlements;
  } else {
    json[r'entitlements'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
    json[r'license_features'] = this.licenseFeatures;
  if (this.priceRef != null) {
    json[r'price_ref'] = this.priceRef;
  } else {
    json[r'price_ref'] = null;
  }
  if (this.tenantId != null) {
    json[r'tenant_id'] = this.tenantId;
  } else {
    json[r'tenant_id'] = null;
  }
  return json;
}