fromJson static method
Returns a new Tracking instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static Tracking? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return Tracking(
checkpoints: Checkpoint.listFromJson(json[r'checkpoints']),
progression: TrackingProgression.fromJson(json[r'progression']),
state: json[r'state'],
time: json[r'time'],
);
}