SqlInjectionMatchSet.fromJson constructor

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

Implementation

factory SqlInjectionMatchSet.fromJson(Map<String, dynamic> json) {
  return SqlInjectionMatchSet(
    sqlInjectionMatchSetId: json['SqlInjectionMatchSetId'] as String,
    sqlInjectionMatchTuples: (json['SqlInjectionMatchTuples'] as List)
        .whereNotNull()
        .map(
            (e) => SqlInjectionMatchTuple.fromJson(e as Map<String, dynamic>))
        .toList(),
    name: json['Name'] as String?,
  );
}