getProtocolWithDefault method Null safety

String getProtocolWithDefault(
  1. String defaultValue
)

Gets the connection protocol with default value.

  • defaultValue (optional) the default protocol return the connection protocol or the default value if it's not set.