BatchReadResponse.fromJson constructor

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

Implementation

factory BatchReadResponse.fromJson(Map<String, dynamic> json) {
  return BatchReadResponse(
    responses: (json['Responses'] as List?)
        ?.whereNotNull()
        .map((e) =>
            BatchReadOperationResponse.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}