FragmentClassDefinition constructor

FragmentClassDefinition({
  1. required FragmentName name,
  2. required Iterable<ClassProperty> properties,
})

Instantiate a fragment class definition.

Implementation

FragmentClassDefinition({
  required this.name,
  required this.properties,
})  : assert(hasValue(name) && hasValue(properties)),
      super(name: name);