copyWith method

AuthMethod copyWith({
  1. String? id,
  2. bool? selected,
  3. GoogleClientId? googleClientId,
  4. AppleWebOptions? appleWebOptions,
})

Implementation

AuthMethod copyWith({
  String? id,
  bool? selected,
  GoogleClientId? googleClientId,
  AppleWebOptions? appleWebOptions,
}) {
  return AuthMethod(
    id: id ?? this.id,
    selected: selected ?? this.selected,
    googleClientId: googleClientId ?? this.googleClientId,
    appleWebOptions: appleWebOptions ?? this.appleWebOptions,
  );
}