Skip to content

Commit

Permalink
Small Readme styling (#721)
Browse files Browse the repository at this point in the history
* Add doc section for static extras

* Add doc section for static extras - more clear code example

* Add doc section for static extras - more clear code example

* Small README.md styling fix

* Small README.md styling fix

* Small README.md styling fix
  • Loading branch information
moshe5745 authored Oct 30, 2024
1 parent 01010f9 commit af5d391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void main(List<String> args) {

### Types

## Types conversion
#### Types conversion

> Before you use the type conversion, please make sure that a ` factory Task.fromJson(Map<String, dynamic> json)` must be provided for each model class. `json_serializable` is recommended to be used as the serialization tool.
Expand All @@ -104,11 +104,11 @@ class Task {
}
```

## Typed extras
#### Typed extras
If you want to add static extra to all requests.

```dart
class MetaData extends TypedExtras {
class MetaData extends TypedExtras {
final String id;
final String region;
Expand Down

0 comments on commit af5d391

Please sign in to comment.