ListRegexMatchSetsResponse.fromJson constructor

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

Implementation

factory ListRegexMatchSetsResponse.fromJson(Map<String, dynamic> json) {
  return ListRegexMatchSetsResponse(
    nextMarker: json['NextMarker'] as String?,
    regexMatchSets: (json['RegexMatchSets'] as List?)
        ?.whereNotNull()
        .map((e) => RegexMatchSetSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}