SasPortalChannelWithScore.fromJson constructor

SasPortalChannelWithScore.fromJson(
  1. Map _json
)

Implementation

SasPortalChannelWithScore.fromJson(core.Map _json)
    : this(
        frequencyRange: _json.containsKey('frequencyRange')
            ? SasPortalFrequencyRange.fromJson(_json['frequencyRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        score: _json.containsKey('score')
            ? (_json['score'] as core.num).toDouble()
            : null,
      );