copyWith method

MicrosoftAccountProfile copyWith({
  1. String? accessToken,
  2. String? refreshToken,
  3. DateTime? expiresAt,
  4. String? email,
  5. String? username,
  6. String? id,
})

Implementation

MicrosoftAccountProfile copyWith({
  String? accessToken,
  String? refreshToken,
  DateTime? expiresAt,
  String? email,
  String? username,
  String? id,
}) {
  return MicrosoftAccountProfile(
    accessToken: accessToken ?? this.accessToken,
    refreshToken: refreshToken ?? this.refreshToken,
    expiresAt: expiresAt ?? this.expiresAt,
    email: email ?? this.email,
    username: username ?? this.username,
    id: id ?? this.id,
  );
}