Delay.fromJson constructor
Creates a Delay from JSON data.
Implementation
Delay.fromJson(Map<String, dynamic> json)
: this(
fixedDelay: json['fixedDelay'] != null
? parseDuration(json['fixedDelay'])
: null,
percentage: json['percentage'] != null
? Percent.fromJson(json['percentage'])
: null,
percent: json['percent'],
);