toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (modulePath != null) 'modulePath': modulePath!,
      if (moduleVersion != null) 'moduleVersion': moduleVersion!,
      if (repositoryLocation != null)
        'repositoryLocation': repositoryLocation!,
      if (repositoryName != null) 'repositoryName': repositoryName!,
      if (repositoryProjectId != null)
        'repositoryProjectId': repositoryProjectId!,
      if (sourcePath != null) 'sourcePath': sourcePath!,
    };