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