copyWith method

LogbotCredentials copyWith({
  1. String? clientId,
  2. String? clientSecret,
  3. String? username,
  4. String? password,
  5. String? basePath,
})

Implementation

LogbotCredentials copyWith(
        {String? clientId,
        String? clientSecret,
        String? username,
        String? password,
        String? basePath}) =>
    LogbotCredentials(
      clientId: clientId ?? this.clientId,
      clientSecret: clientSecret ?? this.clientSecret,
      username: username ?? this.username,
      password: password ?? this.password,
      basePath: basePath ?? this.basePath,
    );