ListSqlInjectionMatchSetsResponse.fromJson constructor

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

Implementation

factory ListSqlInjectionMatchSetsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListSqlInjectionMatchSetsResponse(
    nextMarker: json['NextMarker'] as String?,
    sqlInjectionMatchSets: (json['SqlInjectionMatchSets'] as List?)
        ?.whereNotNull()
        .map((e) =>
            SqlInjectionMatchSetSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}