Parent constructor

  1. @Implements<Identity>()
const Parent({
  1. required String id,
  2. required String name,
  3. required Student children,
})

Implementation

@Implements<Identity>()
const factory Parent({
  required String id,
  required String name,
  required Student children,
}) = _Parent;