CompensationInfo.fromJson constructor

CompensationInfo.fromJson(
  1. Map json_
)

Implementation

CompensationInfo.fromJson(core.Map json_)
    : this(
        annualizedBaseCompensationRange:
            json_.containsKey('annualizedBaseCompensationRange')
                ? CompensationRange.fromJson(
                    json_['annualizedBaseCompensationRange']
                        as core.Map<core.String, core.dynamic>)
                : null,
        annualizedTotalCompensationRange:
            json_.containsKey('annualizedTotalCompensationRange')
                ? CompensationRange.fromJson(
                    json_['annualizedTotalCompensationRange']
                        as core.Map<core.String, core.dynamic>)
                : null,
        entries: json_.containsKey('entries')
            ? (json_['entries'] as core.List)
                .map((value) => CompensationEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );