AuthResponse constructor

AuthResponse({
  1. required String token,
  2. required User user,
  3. required Hospital hospital,
})

Creates an AuthResponse instance.

Implementation

AuthResponse({
   required this.token,
   required this.user,
   required this.hospital,
 });