fragment property
FragmentDefinition
get
fragment
Implementation
FragmentDefinition get fragment {
final frag = getType.fromFragments(name);
if (frag == null) {
throw StateError(
"Could not resolve fragment $name referenced by fragment spread ${this}",
);
}
return frag;
}