OrderedTask.fromJson constructor
Implementation
factory OrderedTask.fromJson(Map<String, dynamic> json) => OrderedTask(
id: json['id'] as String,
steps: json['steps'] != null
? (json['steps'] as List<Map<String, dynamic>>)
.map(Step.fromJson)
.toList()
: [],
);