ListReportGroupsOutput.fromJson constructor

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

Implementation

factory ListReportGroupsOutput.fromJson(Map<String, dynamic> json) {
  return ListReportGroupsOutput(
    nextToken: json['nextToken'] as String?,
    reportGroups: (json['reportGroups'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}