toJson method

Map<String, dynamic> toJson()

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!,
    };