GetFragmentResponse constructor

GetFragmentResponse({
  1. Fragment? fragment,
  2. FragmentUsage? fragmentUsage,
})

Implementation

factory GetFragmentResponse({
  Fragment? fragment,
  FragmentUsage? fragmentUsage,
}) {
  final $result = create();
  if (fragment != null) {
    $result.fragment = fragment;
  }
  if (fragmentUsage != null) {
    $result.fragmentUsage = fragmentUsage;
  }
  return $result;
}