From 13f604cf5a6968ae34221a29ed3821ba58a40d4c Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Wed, 5 Jun 2024 00:10:24 +0200 Subject: [PATCH] fixup! feat!: implement proper serialization logic --- lib/src/core/definitions/extensions/json_serializer.dart | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/src/core/definitions/extensions/json_serializer.dart b/lib/src/core/definitions/extensions/json_serializer.dart index 2e183111..bb2a837d 100644 --- a/lib/src/core/definitions/extensions/json_serializer.dart +++ b/lib/src/core/definitions/extensions/json_serializer.dart @@ -22,15 +22,6 @@ extension SerializableMap on Map { map((key, value) => MapEntry(key, value.toJson())); } -/// Extension that provides JSON serialization for [List]s of [Form]s. -extension SerializableListMap on List> { - /// Converts this [List] of [Map]s of [Serializable] key-value pairs to JSON. - List> toJson() => map( - (serializableMap) => - serializableMap.map((key, value) => MapEntry(key, value.toJson())), - ).toList(growable: false); -} - /// Extension that provides JSON serialization for [List]s of [Uri]s. extension UriListToJsonExtension on List { /// Converts this [List] of [Uri]s to JSON.