toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiKey != null) 'apiKey': apiKey!,
      if (connectedRepositories != null)
        'connectedRepositories': connectedRepositories!,
      if (createTime != null) 'createTime': createTime!,
      if (hostUri != null) 'hostUri': hostUri!,
      if (name != null) 'name': name!,
      if (peeredNetwork != null) 'peeredNetwork': peeredNetwork!,
      if (peeredNetworkIpRange != null)
        'peeredNetworkIpRange': peeredNetworkIpRange!,
      if (secrets != null) 'secrets': secrets!,
      if (sslCa != null) 'sslCa': sslCa!,
      if (username != null) 'username': username!,
      if (webhookKey != null) 'webhookKey': webhookKey!,
    };