toBridgeObject method

  1. @override
Map toBridgeObject({
  1. String? action,
})

Implementation

@override
Map toBridgeObject({String? action}) {
  return serializers.serializeWith(
    Configuration.serializer,
    rebuild(
      (c) => c
        ..proxyPort = proxyPort
        ..name = name
        ..proxyAddress = proxyAddress
        ..linkButton = linkButton
        ..ipAddress = ipAddress
        ..netMask = netMask
        ..gateway = gateway
        ..dhcp = dhcp
        ..utc = utc
        ..timeZone = timeZone
        ..touchLink = touchLink
        ..zigbeeChannel = zigbeeChannel,
    ),
  )! as Map<String, dynamic>;
}