ListLogPatternSetsResponse.fromJson constructor

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

Implementation

factory ListLogPatternSetsResponse.fromJson(Map<String, dynamic> json) {
  return ListLogPatternSetsResponse(
    logPatternSets: (json['LogPatternSets'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    nextToken: json['NextToken'] as String?,
    resourceGroupName: json['ResourceGroupName'] as String?,
  );
}