TestRepositoryTriggersOutput.fromJson constructor
TestRepositoryTriggersOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TestRepositoryTriggersOutput.fromJson(Map<String, dynamic> json) {
return TestRepositoryTriggersOutput(
failedExecutions: (json['failedExecutions'] as List?)
?.whereNotNull()
.map((e) => RepositoryTriggerExecutionFailure.fromJson(
e as Map<String, dynamic>))
.toList(),
successfulExecutions: (json['successfulExecutions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}