$SasPortalInstallationParams.fromJson constructor

$SasPortalInstallationParams.fromJson(
  1. Map _json
)

Implementation

$SasPortalInstallationParams.fromJson(core.Map _json)
    : this(
        antennaAzimuth: _json.containsKey('antennaAzimuth')
            ? _json['antennaAzimuth'] as core.int
            : null,
        antennaBeamwidth: _json.containsKey('antennaBeamwidth')
            ? _json['antennaBeamwidth'] as core.int
            : null,
        antennaDowntilt: _json.containsKey('antennaDowntilt')
            ? _json['antennaDowntilt'] as core.int
            : null,
        antennaGain: _json.containsKey('antennaGain')
            ? _json['antennaGain'] as core.int
            : null,
        antennaModel: _json.containsKey('antennaModel')
            ? _json['antennaModel'] as core.String
            : null,
        cpeCbsdIndication: _json.containsKey('cpeCbsdIndication')
            ? _json['cpeCbsdIndication'] as core.bool
            : null,
        eirpCapability: _json.containsKey('eirpCapability')
            ? _json['eirpCapability'] as core.int
            : null,
        height: _json.containsKey('height')
            ? (_json['height'] as core.num).toDouble()
            : null,
        heightType: _json.containsKey('heightType')
            ? _json['heightType'] as core.String
            : null,
        horizontalAccuracy: _json.containsKey('horizontalAccuracy')
            ? (_json['horizontalAccuracy'] as core.num).toDouble()
            : null,
        indoorDeployment: _json.containsKey('indoorDeployment')
            ? _json['indoorDeployment'] as core.bool
            : null,
        latitude: _json.containsKey('latitude')
            ? (_json['latitude'] as core.num).toDouble()
            : null,
        longitude: _json.containsKey('longitude')
            ? (_json['longitude'] as core.num).toDouble()
            : null,
        verticalAccuracy: _json.containsKey('verticalAccuracy')
            ? (_json['verticalAccuracy'] as core.num).toDouble()
            : null,
      );