InterconnectDiagnosticsLinkOpticalPower.fromJson constructor

InterconnectDiagnosticsLinkOpticalPower.fromJson(
  1. Map json_
)

Implementation

InterconnectDiagnosticsLinkOpticalPower.fromJson(core.Map json_)
    : this(
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );