$SasPortalDeviceModel.fromJson constructor

$SasPortalDeviceModel.fromJson(
  1. Map json_
)

Implementation

$SasPortalDeviceModel.fromJson(core.Map json_)
    : this(
        firmwareVersion: json_.containsKey('firmwareVersion')
            ? json_['firmwareVersion'] as core.String
            : null,
        hardwareVersion: json_.containsKey('hardwareVersion')
            ? json_['hardwareVersion'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        softwareVersion: json_.containsKey('softwareVersion')
            ? json_['softwareVersion'] as core.String
            : null,
        vendor: json_.containsKey('vendor')
            ? json_['vendor'] as core.String
            : null,
      );