SharedIsolateElement.generate constructor
SharedIsolateElement.generate({
- required ClassElement classElement,
- required ConstantReader annotation,
Implementation
factory SharedIsolateElement.generate({
required final ClassElement classElement,
required final DartObject sharedIsolate,
required final ConstantReader annotation,
required final Set<DartType> sharedInstanse,
}) {
return SharedIsolateElement(
classElement,
sharedIsolate.getField("classId")!.toIntValue()!,
annotation.read("isSameType").boolValue,
sharedInstanse,
);
}