BatchReadOperationResponse.fromJson constructor

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

Implementation

factory BatchReadOperationResponse.fromJson(Map<String, dynamic> json) {
  return BatchReadOperationResponse(
    exceptionResponse: json['ExceptionResponse'] != null
        ? BatchReadException.fromJson(
            json['ExceptionResponse'] as Map<String, dynamic>)
        : null,
    successfulResponse: json['SuccessfulResponse'] != null
        ? BatchReadSuccessfulResponse.fromJson(
            json['SuccessfulResponse'] as Map<String, dynamic>)
        : null,
  );
}