ConstructorFragment<T extends _ConstructorFragmentImpl>.from constructor

ConstructorFragment<T extends _ConstructorFragmentImpl>.from(
  1. dynamic source
)

Creates a new ConstructorFragment from any compatible source.

Implementation

factory ConstructorFragment.from(dynamic source) => ConstructorFragment._(
      _ConstructorFragmentImpl.from(source is Interop ? source.impl : source)
          as T,
    );