copyWith method
Implementation
IdentitySessionResponse copyWith({
DateTime? date,
int? timeStamp,
String? token,
String? userCode,
List<Location>? locations,
Device? device,
List<Sucursale>? sucursales,
Usuario? usuario,
Session? session,
}) =>
IdentitySessionResponse(
date: date ?? this.date,
timeStamp: timeStamp ?? this.timeStamp,
token: token ?? this.token,
userCode: userCode ?? this.userCode,
locations: locations ?? this.locations,
device: device ?? this.device,
sucursales: sucursales ?? this.sucursales,
usuario: usuario ?? this.usuario,
session: session ?? this.session,
);