> For the complete documentation index, see [llms.txt](https://docs.flutfast.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flutfast.com/models.md).

# Models

## User Model

The `UserModel` represents the data structure for user information in the application.

### Properties

* **username** (String): The username of the user.
* **email** (String): The email address of the user.
* **password** (String): The hashed password of the user.
* **authToken** (String): The authentication token associated with the user.

### Methods

#### `fromJson(Map<String, dynamic> json) -> UserModel`

Creates a `UserModel` instance from a JSON map.

#### `toJson() -> Map<String, dynamic>`

Converts the `UserModel` instance to a JSON map.

#### `copyWith({String? username, String? email, String? password, String? authToken}) -> UserModel`

Creates a copy of the `UserModel` with optional modified properties.
