Map<String, dynamic> toJson() => (_i2.serializers.serializeWith( GAliasedHeroVars.serializer, this, ) as Map<String, dynamic>);