toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectionType != null) 'connectionType': connectionType!,
      if (ipAllocation != null) 'ipAllocation': ipAllocation!,
      if (network != null) 'network': network!,
      if (privateServiceConnectConfig != null)
        'privateServiceConnectConfig': privateServiceConnectConfig!,
    };