getFragmentDeclaration abstract method

  1. @experimental
FragmentDeclarationResult? getFragmentDeclaration(
  1. Fragment fragment
)

Returns the declaration of the fragment.

Returns null if the fragment is synthetic.

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

Implementation

@experimental
FragmentDeclarationResult? getFragmentDeclaration(Fragment fragment);