ApproximateProgress.fromJson constructor
ApproximateProgress.fromJson(
- Map json_
Implementation
ApproximateProgress.fromJson(core.Map json_)
: this(
percentComplete: json_.containsKey('percentComplete')
? (json_['percentComplete'] as core.num).toDouble()
: null,
position: json_.containsKey('position')
? Position.fromJson(
json_['position'] as core.Map<core.String, core.dynamic>)
: null,
remainingTime: json_.containsKey('remainingTime')
? json_['remainingTime'] as core.String
: null,
);