toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (consentArtifact != null) 'consentArtifact': consentArtifact!,
if (expireTime != null) 'expireTime': expireTime!,
if (metadata != null) 'metadata': metadata!,
if (name != null) 'name': name!,
if (policies != null) 'policies': policies!,
if (revisionCreateTime != null)
'revisionCreateTime': revisionCreateTime!,
if (revisionId != null) 'revisionId': revisionId!,
if (state != null) 'state': state!,
if (ttl != null) 'ttl': ttl!,
if (userId != null) 'userId': userId!,
};