copyWith method

AuthGetRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? accessToken,
  4. AuthGetRequestOptions? options,
})

Implementation

AuthGetRequest copyWith(
    {String? clientId,
    String? secret,
    String? accessToken,
    AuthGetRequestOptions? options}) {
  return AuthGetRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      accessToken: accessToken ?? this.accessToken,
      options: options ?? this.options);
}