UserResponse constructor
UserResponse({
- UserProfile? profile,
- SupplierProfile? supplierProfile,
- Customer? customerProfile,
- CommunicationSettings? communicationSettings,
- AuthCredentialResponse? auth,
Implementation
factory UserResponse(
{@JsonKey(name: 'profile')
UserProfile? profile,
@JsonKey(name: 'supplierProfile')
SupplierProfile? supplierProfile,
@JsonKey(name: 'customerProfile')
Customer? customerProfile,
@JsonKey(name: 'communicationSettings')
CommunicationSettings? communicationSettings,
@JsonKey(name: 'auth')
AuthCredentialResponse? auth,
@JsonKey(name: 'navigationActions')
Navigation? navigation}) = _UserResponse;