blob: f763299c9dcae59a449d74f21e401bc185f135b3 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "package:macro/data_class.dart" as dat;
import "dart:core" as core;
import "package:macro/data_class.dart";
@#C1
class Foo extends core::Object {
final field core::int bar;
final field core::String baz;
const constructor •({required core::int bar = #C2, required core::String baz = #C2}) → self::Foo
: self::Foo::bar = bar, self::Foo::baz = baz, super core::Object::•()
;
get /* from org-dartlang-augmentation:/a/b/c/main.dart-1 */ hashCode() core::int {
return this.{self::Foo::bar}{core::int}.{core::num::hashCode}{core::int}.{core::int::^}(this.{self::Foo::baz}{core::String}.{core::String::hashCode}{core::int}){(core::int) core::int};
}
operator /* from org-dartlang-augmentation:/a/b/c/main.dart-1 */ ==(core::Object other) core::bool {
if(core::identical(this, other))
return true;
return other is{ForNonNullableByDefault} self::Foo && this.{self::Foo::bar}{core::int} =={core::num::==}{(core::Object) core::bool} other{self::Foo}.{self::Foo::bar}{core::int} && this.{self::Foo::baz}{core::String} =={core::String::==}{(core::Object) core::bool} other{self::Foo}.{self::Foo::baz}{core::String};
}
method /* from org-dartlang-augmentation:/a/b/c/main.dart-1 */ toString() core::String {
return "Foo(bar=${this.{self::Foo::bar}{core::int}},baz=${this.{self::Foo::baz}{core::String}})";
}
}
constants {
#C1 = dat::DataClass {}
#C2 = null
}