UserResponse constructor
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,
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;