ListRegexPatternSetsResponse.fromJson constructor

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

Implementation

factory ListRegexPatternSetsResponse.fromJson(Map<String, dynamic> json) {
  return ListRegexPatternSetsResponse(
    nextMarker: json['NextMarker'] as String?,
    regexPatternSets: (json['RegexPatternSets'] as List?)
        ?.whereNotNull()
        .map(
            (e) => RegexPatternSetSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}