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