|
|
@ -1,5 +1,6 @@ |
|
|
|
part of 'type_result.dart'; |
|
|
|
part of 'type_result.dart'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@immutable |
|
|
|
class TypeResultList extends TypeResult { |
|
|
|
class TypeResultList extends TypeResult { |
|
|
|
TypeResultList( |
|
|
|
TypeResultList( |
|
|
|
super.name, |
|
|
|
super.name, |
|
|
@ -27,4 +28,15 @@ class TypeResultList extends TypeResult { |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
TypeResultList get dartType => TypeResultList('List', subType, nullable: nullable); |
|
|
|
TypeResultList get dartType => TypeResultList('List', subType, nullable: nullable); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
bool operator ==(final Object other) => |
|
|
|
|
|
|
|
other is TypeResultList && |
|
|
|
|
|
|
|
other.className == className && |
|
|
|
|
|
|
|
other.generics == generics && |
|
|
|
|
|
|
|
other.nullable == nullable && |
|
|
|
|
|
|
|
other.subType == subType; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
int get hashCode => className.hashCode + generics.hashCode + nullable.hashCode + subType.hashCode; |
|
|
|
} |
|
|
|
} |
|
|
|