encode method

dynamic encode(
  1. Devices v
)

Implementation

dynamic encode(p3.Devices v) => toMap(v);