union static method

Union union(
  1. dynamic discr, {
  2. Layout? defaultLayout,
  3. String? property,
})

Union values.

Implementation

static Union union(dynamic discr,
        {Layout? defaultLayout, String? property}) =>
    Union(discr, defaultLayout: defaultLayout, property: property);