AbortConfig.fromJson constructor

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

Implementation

factory AbortConfig.fromJson(Map<String, dynamic> json) {
  return AbortConfig(
    criteriaList: (json['criteriaList'] as List)
        .whereNotNull()
        .map((e) => AbortCriteria.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}