ListOperationsResponse.fromJson constructor

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

Implementation

factory ListOperationsResponse.fromJson(Map<String, dynamic> json) {
  return ListOperationsResponse(
    operations: (json['Operations'] as List)
        .whereNotNull()
        .map((e) => OperationSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextPageMarker: json['NextPageMarker'] as String?,
  );
}