Browse Source

dynamite: Fix super variable names

pull/140/head
jld3103 2 years ago
parent
commit
b3ead4141d
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/dynamite/lib/src/type_result/base.dart
  2. 2
      packages/dynamite/lib/src/type_result/enum.dart
  3. 2
      packages/dynamite/lib/src/type_result/list.dart
  4. 2
      packages/dynamite/lib/src/type_result/map.dart
  5. 2
      packages/dynamite/lib/src/type_result/object.dart

2
packages/dynamite/lib/src/type_result/base.dart

@ -1,7 +1,7 @@
part of '../../dynamite.dart'; part of '../../dynamite.dart';
class TypeResultBase extends TypeResult { class TypeResultBase extends TypeResult {
TypeResultBase(super.typeName); TypeResultBase(super.name);
@override @override
String serialize(final String object) => object; String serialize(final String object) => object;

2
packages/dynamite/lib/src/type_result/enum.dart

@ -2,7 +2,7 @@ part of '../../dynamite.dart';
class TypeResultEnum extends TypeResult { class TypeResultEnum extends TypeResult {
TypeResultEnum( TypeResultEnum(
super.typeName, super.name,
this.subType, this.subType,
); );

2
packages/dynamite/lib/src/type_result/list.dart

@ -2,7 +2,7 @@ part of '../../dynamite.dart';
class TypeResultList extends TypeResult { class TypeResultList extends TypeResult {
TypeResultList( TypeResultList(
super.typeName, super.name,
this.subType, this.subType,
); );

2
packages/dynamite/lib/src/type_result/map.dart

@ -2,7 +2,7 @@ part of '../../dynamite.dart';
class TypeResultMap extends TypeResult { class TypeResultMap extends TypeResult {
TypeResultMap( TypeResultMap(
super.typeName, super.name,
this.subType, this.subType,
); );

2
packages/dynamite/lib/src/type_result/object.dart

@ -2,7 +2,7 @@ part of '../../dynamite.dart';
class TypeResultObject extends TypeResult { class TypeResultObject extends TypeResult {
TypeResultObject( TypeResultObject(
super.typeName, { super.name, {
this.fromJsonString = false, this.fromJsonString = false,
}); });

Loading…
Cancel
Save