convert method

Iterable<Fence> convert(
  1. Iterable<Fence> fence
)
override

Converts input and returns the result of the conversion.

Implementation

Iterable<Fence> convert(Iterable<Fence> fence)
  => fence.indexed
    .map<Fence>(((int, Fence) fe) => (
        at: fe.$1, type: fe.$2.type,
        inst: fe.$2.inst, values: fe.$2.values));