CompensationEntry.fromJson constructor
CompensationEntry.fromJson(
- Map json_
Implementation
CompensationEntry.fromJson(core.Map json_)
: this(
amount: json_.containsKey('amount')
? Money.fromJson(
json_['amount'] as core.Map<core.String, core.dynamic>)
: null,
description: json_['description'] as core.String?,
expectedUnitsPerYear:
(json_['expectedUnitsPerYear'] as core.num?)?.toDouble(),
range: json_.containsKey('range')
? CompensationRange.fromJson(
json_['range'] as core.Map<core.String, core.dynamic>)
: null,
type: json_['type'] as core.String?,
unit: json_['unit'] as core.String?,
);