LogsSummary.fromJson constructor

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

Implementation

factory LogsSummary.fromJson(Map<String, dynamic> json) {
  return LogsSummary(
    audit: json['audit'] as bool?,
    auditLogGroup: json['auditLogGroup'] as String?,
    general: json['general'] as bool?,
    generalLogGroup: json['generalLogGroup'] as String?,
    pending: json['pending'] != null
        ? PendingLogs.fromJson(json['pending'] as Map<String, dynamic>)
        : null,
  );
}