copyWith method

FitbitAuthCredentials copyWith({
  1. String? clientId,
  2. String? clientSecret,
})

Implementation

FitbitAuthCredentials copyWith({String? clientId, String? clientSecret}) {
  return FitbitAuthCredentials(
    clientId: clientId ?? this.clientId,
    clientSecret: clientSecret ?? this.clientSecret,
  );
}