ShareAllPatientDataOptionsBulkShareFailure.fromJSON constructor

ShareAllPatientDataOptionsBulkShareFailure.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory ShareAllPatientDataOptionsBulkShareFailure.fromJSON(Map<String, dynamic> data) {
	return ShareAllPatientDataOptionsBulkShareFailure(
		(data["errors"] as List<dynamic>).map((x0) => FailedRequestDetails.fromJSON(x0) ).toList(),
		(data["message"] as String)
	);
}