copyWith method
Copy with new values.
Implementation
Authorization copyWith({
String? token,
DateTime? expiredAt,
String? payload,
}) =>
Authorization(
type: type,
token: token ?? this.token,
expiredAt: expiredAt ?? this.expiredAt,
payload: payload ?? this.payload,
);