clone method

  1. @override
Test clone()
override

Returns a clone of this object without the internal parent reference set so that it may be attached to a new tree.

Implementation

@override
Test clone() {
  return LocalTest._(
    name,
    metadata,
    _body,
    trace,
    location,
    _guarded,
    isScaffoldAll,
  );
}