toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (payload != null) 'payload': payload!,
if (payloadType != null) 'payloadType': payloadType!,
if (signatures != null) 'signatures': signatures!,
};