TestNestedRequiredForeign constructor

TestNestedRequiredForeign({
  1. TestNestedRequiredForeign? child,
  2. TestRequiredForeign? payload,
  3. int? dummy,
})

Implementation

factory TestNestedRequiredForeign({
  TestNestedRequiredForeign? child,
  TestRequiredForeign? payload,
  $core.int? dummy,
}) {
  final _result = create();
  if (child != null) {
    _result.child = child;
  }
  if (payload != null) {
    _result.payload = payload;
  }
  if (dummy != null) {
    _result.dummy = dummy;
  }
  return _result;
}