toJson method
Implementation
Map<String, Object?> toJson() => {
if (asAddress != null) 'asAddress': asAddress,
if (bytes != null) 'bytes': bytes,
if (frameId != null) 'frameId': frameId,
if (mode != null) 'mode': mode,
'name': name,
if (variablesReference != null)
'variablesReference': variablesReference,
};