CompensationRange.fromJson constructor

CompensationRange.fromJson(
  1. Map json_
)

Implementation

CompensationRange.fromJson(core.Map json_)
    : this(
        maxCompensation: json_.containsKey('maxCompensation')
            ? Money.fromJson(json_['maxCompensation']
                as core.Map<core.String, core.dynamic>)
            : null,
        minCompensation: json_.containsKey('minCompensation')
            ? Money.fromJson(json_['minCompensation']
                as core.Map<core.String, core.dynamic>)
            : null,
      );