SourceAlgorithmSpecification.fromJson constructor

SourceAlgorithmSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SourceAlgorithmSpecification.fromJson(Map<String, dynamic> json) {
  return SourceAlgorithmSpecification(
    sourceAlgorithms: (json['SourceAlgorithms'] as List)
        .whereNotNull()
        .map((e) => SourceAlgorithm.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}