From a8f256b60ea61dce3be112f412e06b1cc9e522e5 Mon Sep 17 00:00:00 2001 From: Isakdl Date: Wed, 24 Jan 2024 13:27:37 +0100 Subject: [PATCH] fix: Add links to supported datatypes. --- docs/05-concepts/02-models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05-concepts/02-models.md b/docs/05-concepts/02-models.md index 75864d3..0cbd7bd 100644 --- a/docs/05-concepts/02-models.md +++ b/docs/05-concepts/02-models.md @@ -16,7 +16,7 @@ fields: employees: List ``` -Supported types are `bool`, `int`, `double`, `String`, `UuidValue`, `Duration`, `DateTime`, `ByteData`, and other serializable classes, exceptions and enums. You can also use `List`s and `Map`s of the supported types, just make sure to specify the types. Null safety is supported. Once your classes are generated, you can use them as parameters or return types to endpoint methods. +Supported types are [bool](https://api.dart.dev/dart-core/bool-class.html), [int](https://api.dart.dev/dart-core/int-class.html), [double](https://api.dart.dev/dart-core/double-class.html), [String](https://api.dart.dev/dart-core/String-class.html), [Duration](https://api.dart.dev/dart-core/Duration-class.html), [DateTime](https://api.dart.dev/dart-core/DateTime-class.html), [ByteData](https://api.dart.dev/dart-typed_data/ByteData-class.html), [UuidValue](https://pub.dev/documentation/uuid/latest/uuid_value/UuidValue-class.html), and other serializable classes, exceptions and enums. You can also use [List](https://api.dart.dev/dart-core/List-class.html)s and [Map](https://api.dart.dev/dart-core/Map-class.html)s of the supported types, just make sure to specify the types. Null safety is supported. Once your classes are generated, you can use them as parameters or return types to endpoint methods. ### Limiting visibility of a generated class