toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (agentContent != null) 'agentContent': agentContent!,
if (agentUri != null) 'agentUri': agentUri!,
if (gitSource != null) 'gitSource': gitSource!,
if (restoreOption != null) 'restoreOption': restoreOption!,
};