From b3ead4141d1c03a2a4eece4f567c8c0c10c86096 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Wed, 30 Nov 2022 13:30:23 +0100 Subject: [PATCH] dynamite: Fix super variable names --- packages/dynamite/lib/src/type_result/base.dart | 2 +- packages/dynamite/lib/src/type_result/enum.dart | 2 +- packages/dynamite/lib/src/type_result/list.dart | 2 +- packages/dynamite/lib/src/type_result/map.dart | 2 +- packages/dynamite/lib/src/type_result/object.dart | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/dynamite/lib/src/type_result/base.dart b/packages/dynamite/lib/src/type_result/base.dart index d477af21..101f5630 100644 --- a/packages/dynamite/lib/src/type_result/base.dart +++ b/packages/dynamite/lib/src/type_result/base.dart @@ -1,7 +1,7 @@ part of '../../dynamite.dart'; class TypeResultBase extends TypeResult { - TypeResultBase(super.typeName); + TypeResultBase(super.name); @override String serialize(final String object) => object; diff --git a/packages/dynamite/lib/src/type_result/enum.dart b/packages/dynamite/lib/src/type_result/enum.dart index ec56a90c..af9a9b94 100644 --- a/packages/dynamite/lib/src/type_result/enum.dart +++ b/packages/dynamite/lib/src/type_result/enum.dart @@ -2,7 +2,7 @@ part of '../../dynamite.dart'; class TypeResultEnum extends TypeResult { TypeResultEnum( - super.typeName, + super.name, this.subType, ); diff --git a/packages/dynamite/lib/src/type_result/list.dart b/packages/dynamite/lib/src/type_result/list.dart index a547a76e..a48efb1f 100644 --- a/packages/dynamite/lib/src/type_result/list.dart +++ b/packages/dynamite/lib/src/type_result/list.dart @@ -2,7 +2,7 @@ part of '../../dynamite.dart'; class TypeResultList extends TypeResult { TypeResultList( - super.typeName, + super.name, this.subType, ); diff --git a/packages/dynamite/lib/src/type_result/map.dart b/packages/dynamite/lib/src/type_result/map.dart index db5a56ef..884e8d27 100644 --- a/packages/dynamite/lib/src/type_result/map.dart +++ b/packages/dynamite/lib/src/type_result/map.dart @@ -2,7 +2,7 @@ part of '../../dynamite.dart'; class TypeResultMap extends TypeResult { TypeResultMap( - super.typeName, + super.name, this.subType, ); diff --git a/packages/dynamite/lib/src/type_result/object.dart b/packages/dynamite/lib/src/type_result/object.dart index df66cba9..7509849d 100644 --- a/packages/dynamite/lib/src/type_result/object.dart +++ b/packages/dynamite/lib/src/type_result/object.dart @@ -2,7 +2,7 @@ part of '../../dynamite.dart'; class TypeResultObject extends TypeResult { TypeResultObject( - super.typeName, { + super.name, { this.fromJsonString = false, });