toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (additionalData != null) 'additionalData': additionalData!,
if (allowPersonalUsage != null)
'allowPersonalUsage': allowPersonalUsage!,
if (duration != null) 'duration': duration!,
if (expirationTimestamp != null)
'expirationTimestamp': expirationTimestamp!,
if (name != null) 'name': name!,
if (oneTimeOnly != null) 'oneTimeOnly': oneTimeOnly!,
if (policyName != null) 'policyName': policyName!,
if (qrCode != null) 'qrCode': qrCode!,
if (user != null) 'user': user!,
if (value != null) 'value': value!,
};