CompensationFilter.fromJson constructor

CompensationFilter.fromJson(
  1. Map json_
)

Implementation

CompensationFilter.fromJson(core.Map json_)
  : this(
      includeJobsWithUnspecifiedCompensationRange:
          json_['includeJobsWithUnspecifiedCompensationRange'] as core.bool?,
      range: json_.containsKey('range')
          ? CompensationRange.fromJson(
              json_['range'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      type: json_['type'] as core.String?,
      units: (json_['units'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );