UnionField constructor

UnionField(
  1. String name,
  2. String jsonName,
  3. FieldType type,
  4. String union,
  5. Iterable<FieldUnionData> unionValues,
)

Implementation

UnionField(
  String name,
  String jsonName,
  FieldType type,
  this.union,
  this.unionValues,
) : super(name, jsonName, type);