UserResponse constructor

UserResponse({
  1. UserProfile? profile,
  2. SupplierProfile? supplierProfile,
  3. Customer? customerProfile,
  4. CommunicationSettings? communicationSettings,
  5. AuthCredentialResponse? auth,
  6. Navigation? navigation,
})

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;