toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (P_type != null) '_type': P_type!,
      if (predicateType != null) 'predicateType': predicateType!,
      if (provenance != null) 'provenance': provenance!,
      if (slsaProvenance != null) 'slsaProvenance': slsaProvenance!,
      if (slsaProvenanceZeroTwo != null)
        'slsaProvenanceZeroTwo': slsaProvenanceZeroTwo!,
      if (subject != null) 'subject': subject!,
    };