getFragmentDeclaration abstract method

FragmentDeclarationResult? getFragmentDeclaration(
  1. Fragment fragment
)

Returns the declaration of the fragment in the V1 AST view.

Returns null if the fragment is synthetic.

Throws ArgumentError if the fragment is not defined in this library.

Implementation

FragmentDeclarationResult? getFragmentDeclaration(Fragment fragment);