DescribeLogGroupsResponse.fromJson constructor

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

Implementation

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