copyWith method
Returns a copy of this AuthMessage with updated fields.
Example:
final newMessage = oldMessage.copyWith(title: "New Title");
Implementation
AuthMessage copyWith({String? title, String? hint, String? reason}) =>
AuthMessage(
title: title ?? this.title,
hint: hint ?? this.hint,
reason: reason ?? this.reason,
);