toJson method

String toJson()

Implementation

String toJson() {
  return DeviceMapper.ensureInitialized().encodeJson<Device>(this as Device);
}