merge method

  1. @Deprecated('Thanks to null-safety, the reason for merging two configurations has largely been eliminated.')
FaunaConfig merge(
  1. FaunaConfig mergeWith
)

Returns a FaunaConfig created by merging this configuration with mergeWith.

Implementation

@Deprecated(
    'Thanks to null-safety, the reason for merging two configurations has largely been eliminated.')
FaunaConfig merge(FaunaConfig mergeWith) {
  return FaunaConfig(
    scheme: mergeWith.scheme,
    domain: mergeWith.domain,
    port: mergeWith.port,
    secret: mergeWith.secret,
    headers: mergeWith.headers,
    timeout: mergeWith.timeout,
    queryTimeout: mergeWith.queryTimeout ?? queryTimeout,
  );
}