StageDeclaration.fromJson constructor
Implementation
factory StageDeclaration.fromJson(Map<String, dynamic> json) {
return StageDeclaration(
actions: (json['actions'] as List)
.whereNotNull()
.map((e) => ActionDeclaration.fromJson(e as Map<String, dynamic>))
.toList(),
name: json['name'] as String,
blockers: (json['blockers'] as List?)
?.whereNotNull()
.map((e) => BlockerDeclaration.fromJson(e as Map<String, dynamic>))
.toList(),
);
}