toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (validAfterDuration != null)
'validAfterDuration': validAfterDuration!,
if (validAfterTime != null) 'validAfterTime': validAfterTime!,
if (validInterval != null) 'validInterval': validInterval!,
if (validUntilDuration != null)
'validUntilDuration': validUntilDuration!,
if (validUntilTime != null) 'validUntilTime': validUntilTime!,
};