GetOpsSummaryResult.fromJson constructor

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

Implementation

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